ListActivity does the ArrayAdapter<T> class have to be an Inner Class

by Brion Emde » Fri, 23 Apr 2010 09:07:31 GMT


Sponsored Links
 No, there is no reason at all that your Adapter has to be in internal
class.

Post your code and maybe someone will see your problem.



>



Other Threads

1. Broadcat receive not working from inside Activity

How to make the receive broadcast work from inside an Activity.
I have tried all codes to dynamically register broadcast receive
nothing works.
Do anyone have a solid example to help me out.

-- 

2. XML Adapter sample from SDK not compiling

Hi all, I am trying to compile and run the XmlAdapter sample from the
sdk, also referenced in the below URL
http://developer.android.com/resources/samples/XmlAdapters/index.html

I am unable to compile and run due to following errors listed below,
any help is greatly appreciated.
I am using API level 8, also tried with 10, no change in errors.

------ errors begin ------

mContext cannot be resolved Adapters.java /Feedsample/src/com/example/
android/xmladapters     line 914        Java Problem
mContext cannot be resolved     Adapters.java   /Feedsample/src/com/
example/
android/xmladapters     line 972        Java Problem
mContext cannot be resolved     Adapters.java   /Feedsample/src/com/
example/
android/xmladapters     line 973        Java Problem
mContext cannot be resolved     Adapters.java   /Feedsample/src/com/
example/
android/xmladapters     line 976        Java Problem
mFrom cannot be resolved        Adapters.java   /Feedsample/src/com/
example/
android/xmladapters     line 938        Java Problem
mTo cannot be resolved  Adapters.java   /Feedsample/src/com/example/
android/xmladapters     line 937        Java Problem
mTo cannot be resolved  Adapters.java   /Feedsample/src/com/example/
android/xmladapters     line 939        Java Problem
The import android.content.XmlDocumentProvider cannot be resolved
RssReaderActivity.java  /Feedsample/src/com/example/android/
xmladapters
line 20 Java Problem

---------- errors end -----

-- 

3. Repeat Background image

4. android.content.XmlDocumentProvider not in SDK's

5. how to change tab shape size in android

6. debugging problems Samsung ACE on win XP, not seen with Samsung Galaxy S

7. Ang.: Ang.: Ang.: Activity is destroyed than instantly created when pushing the sleep/lock-screen button