You may have set up your project to compile using Java 1.5, where you
could not use @Override for an implementation of a method defined on
an interface.

On Fri, Oct 21, 2011 at 9:39 AM, Doug Gordon <[email protected]> wrote:
> I'm trying to build the Sample4Demos project (copied to my own workspace)
> with Android V4.0 as the target SDK. It is not building due to a number of
> errors of this type: "The method onPageScrolled(...) of type
> FragmentTabsPager.TabsAdapter must override a superclass method".
>
> It seems to be fixed by removing the @Override that precedes the method in
> the code. Anyone else had this issue? Are these methods indeed not
> overrides?
>
>  Doug Gordon
>  GHCS Software
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.1 Programming Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to