I am not able to successfully reference an internal subclass of a view
in my xml layout file.

I followed the example in the Dev Guide and the NotePad example in API
Demos and it is not working.  I'm sure it has got to be something
simple that I have overlooked or missed.

Here is what I have:

A package named com.magouyaware.appswipe, a class called
ActivityListView that inherits from Activity, and a  nested inner
class named RunningTaskGallery that inherits from Gallery.

According to the Dev Guide, I would reference it in the layout file as
follows:
<view class="com.magouyaware.appswipe.ActivityListView
$RunningTaskGallery" />

However, this results in: java.lang.NoSuchMethodException:
RunningTaskGallery(Context,AttributeSet).  I double-checked just to
make sure, but this constructor does indeed exist.

Any ideas?

Thanks in Advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to