Mark, I have inserted the getCount() Now I am trying to make it fail to see if I get a zero returned. Would it be wise for me to move the calls to the listadapters from onCreate to onResume so that they would be refreshed each time this activity get control because onCreate is only executed once?
On May 1, 11:24 am, Mark Murphy <[email protected]> wrote: > cre wrote: > > Is there a way to test for this condition and manually update the list > > adapters? > > If I am correct, and the adapters think they have no contents, they will > return 0 to a call to getCount(). You may want to check this, in part to > confirm my adapter-thinks-it-is-empty theory. > > Do adapters other than ArrayAdapter.createFromResource() exhibit the > same behavior? For example, does an ArrayAdapter created via the > constructor have its contents vanish? > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

