hi,

generic android.widget.Adapter iface has getCount() method which tells
e.g. ListView how many items adapter has.

what if my Adapter's data source cannot tell me it's size and has only
method Object getItem(int position) returning e.g. null when there is
no item for that position?

in other words i can get some object at given position but don't know
maximum value for position

so, is it possible to create Adapter not knowing apriori its size?

thanks
pskink
--~--~---------~--~----~------------~-------~--~----~
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