On Thu, Nov 17, 2011 at 10:01 PM, eehouse <eeeeho...@gmail.com> wrote:
> As far as I can tell, a second call to setListAdapter( new
> MyCustomAdapter() ) has no effect: the adapter I originally installed
> in my ListActivity subclass's onCreate() method continues to get
> called.  Is this a known problem/feature?

No.

Here is an example of an application that successfully calls
setListAdapter() multiple times, based on the user choosing a Reset
option menu choice:

https://github.com/commonsguy/cw-android/tree/master/Menus/Inflation

> MyCustomAdapter extends
> BaseAdapter, as I've read it must if it's going to implement
> the SectionIndexer interface.

AFAIK it can be any ListAdapter.

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

Android App Developer 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to