Noam wrote: > Thanks for that incredible answer. It couldn't be all that incredible. ;-)
> Since I'm such a noobie, I hardly understand anything from that > paragraph. Could you please show me some code so I could understand > better? Well, not really, because I've never tried either of them myself. The first one is easy: overriding onContentChanged() in your PreferenceActivity is no different than overriding onCreate() or onResume() or any of the other activity callbacks. Be sure to call super.onContentChanged(), and then log when onContentChanged() gets called (or set breakpoints, if you use a debugger). If it gets control when you need it, you should be in good shape. For the second one, see: http://developer.android.com/reference/android/widget/Adapter.html#registerDataSetObserver(android.database.DataSetObserver) (or http://tinyurl.com/dcrorv if that URL is too long for your mail client) Call getListAdapter() in your PreferenceActivity to get the adapter, then call registerDataSetObserver(), and see when the observer gets control (via logging statements or breakpoints). - Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---