public interface IAdapter<Item extends IItem>
| Modifier and Type | Method and Description |
|---|---|
Item |
getAdapterItem(int position) |
int |
getAdapterItemCount()
defines the count of items of THIS adapter
|
java.util.List<Item> |
getAdapterItems() |
int |
getAdapterPosition(Item item)
Searches for the given item and calculates it's relative position
|
FastAdapter |
getFastAdapter()
defines the FastAdapter which manages all the core logic
|
int |
getGlobalPosition(int position)
Returns the global position based on the relative position given
|
<Item extends IItem> |
getItem(int position) |
int |
getItemCount() |
int |
getOrder()
defines in which order this adapter should be hooked into the FastAdapter
|
FastAdapter getFastAdapter()
int getOrder()
int getAdapterItemCount()
java.util.List<Item> getAdapterItems()
Item getAdapterItem(int position)
position - the relative positionint getAdapterPosition(Item item)
item - the item which is searched forint getGlobalPosition(int position)
position - the relative position within this adapterint getItemCount()
<Item extends IItem> Item getItem(int position)
position - the global position