> 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?
If your problem is that as you click around tabs, lists decide to spontaneously empty out, onResume() will only get called once, shortly after the onCreate() call. If, on the other hand, your problem is tied to something else taking the foreground (dialog or other activity), or if your problem is tied to resource changes (e.g., screen rotation), then onResume() might be part of the mix. -- Mark Murphy (a Commons Guy) http://commonsware.com _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 -~----------~----~----~----~------~----~------~--~---

