Saturday, January 1, 2011

[android-developers] Refreshing/reloading an ExpandableListActivity

My app is an ExpandableListActivity sub-class.

I monitor preferences modification, and on a system callback -

i'd like to refresh/reload the list. i call setContentView( layout ).

the problem is that the system squawks that the calling thread
is different. it's the system notification thread and not the
original UI thread that created the view.

how can i reload the list.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate