Hi,
I have extended AbsSpinner class and resulting application runs fine
when complied in Eclips + SDK (all version). But when I try to compile
it with Android Source Code it gives me error message to implement an
abstract method layout(int delta, boolean animate) of class
AbsSpinner. but the code is same as in first case .
Can any one , please explain what I am missing here ...
$home/project/froyo mmm packages/apps/CardList
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
make: Entering directory `/home/project/froyo'
target Java: CardList (out/target/common/obj/APPS/
CardList_intermediates/classes)
packages/apps/CardList/src/com/cardlist/gadgetronic/CardView.java:21:
com.cardlist.gadgetronic.CardView is not abstract and does not
override abstract method layout(int,boolean) in
android.widget.AbsSpinner
public class CardView extends AbsSpinner {
^
1 error
make: *** [out/target/common/obj/APPS/CardList_intermediates/classes-
full-debug.jar] Error 41
make: Leaving directory `/home/project/froyo'
----------------------------------------------------------------------------------
After if I Override the abstract method I still get following error
make: Entering directory `/home/project/froyo'
target Java: CardList (out/target/common/obj/APPS/
CardList_intermediates/classes)
packages/apps/CardList/src/com/cardlist/gadgetronic/CardView.java:21:
com.cardlist.gadgetronic.CardView is not abstract and does not
override abstract method layout(int,boolean) in
android.widget.AbsSpinner
public class CardView extends AbsSpinner {
^
packages/apps/CardList/src/com/cardlist/gadgetronic/CardView.java:156:
method does not override or implement a method from a supertype
@Override
^
2 errors
make: *** [out/target/common/obj/APPS/CardList_intermediates/classes-
full-debug.jar] Error 41
make: Leaving directory `/home/project/froyo'
----------------------------------------------------------------
Thanks in advance and looking forward to get your response
Regards,
argongold
--
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