com.neomades.ui.ListAdapter |
ListAdapter
is a bridge between ListView
and data.
See ListView documentation
for further information.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getCount()
Returns the number of elements of the
ListView to load. | ||||||||||
abstract View |
getView(int atIndex, View itemView, View parent)
Returns or load a view at the specified index.
|
Returns the number of elements of the ListView
to load.
Returns or load a view at the specified index. Do not modify other views of the list at the same time since they may not be redrawn. Only the returned View will be drawn at that time.
atIndex | index of the item |
---|---|
itemView | original item or null |
parent | ListView |