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. On Apr 21, 2:40 pm, David Parry <[email protected]> wrote: > Question: > > I have a Concrete class that implements ListActivity in this class I > have an InnerClass extends ArrayAdapter<T>. This came from an example > and works great i.e. displays my list of items on the screen. > > The problem is that I tried pulling out the InnerClass and use it as a > standalone Concrete class. So now I pass in the array of Items i.e T[] > to the constructor but when I set the ListActivity classes > setListAdapter(my pulled out InnerClass); the screen comes up empty? > > So is this by design that ArrayAdapter has to be an InnerClass in the > ListActivity class? > > If no then how can i get the list to display and update. > > Thank you, > David > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

