> > You need to make sure the getCount() call always returns something valid. > > Exactly. getCount() is part of the contract of the Adapter. Even if you could work around some issue you are having, you may still break on the next version of Android as they may decide to call getCount() at different times.
-- 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