On Thu, Apr 19, 2012 at 9:56 AM, Zsolt Vasvari <[email protected]> wrote:

>   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.
>
>

Yes, got that.

-- 
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

Reply via email to