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 its relative position
|
int |
getAdapterPosition(long identifier)
Searches for the given item and calculates its relative position
|
FastAdapter<Item> |
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 |
getItem(int position) |
int |
getItemCount() |
int |
getOrder()
defines in which order this adapter should be hooked into the FastAdapter
|
FastAdapter<Item> 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 getAdapterPosition(long identifier)
identifier - the identifier of an item which is searched forint getGlobalPosition(int position)
position - the relative position within this adapterint getItemCount()
Item getItem(int position)
position - the global position