Is there some place which describes the contract between Adapter and
AdapterView, or between ListView and ListViewAdapter.

I'm trying to create my own ListView Adapter. It is not clear to me
the sequence of method invocations nor who maybe calling these
methods.

There appear to be several overlapping methods.
- getItem returns a data object, but you don't know the type.
- getItemViewType returns an integer. Who determines the integer? Are
they defined somewhere? Userdefined?
- getView

getView seems to be the only one that really matters. What other code
maybe involved that would try to do something with the returned data
and returned view? How can this other code know how to assign the data
to the view if the type of neither is known?

A general explanation of the design would be helpful.

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