public interface IntoTracker<ID>
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_POSITION |
| Modifier and Type | Method and Description |
|---|---|
ID |
getIdByPosition(int position) |
int |
getPositionById(ID id) |
android.view.View |
getViewById(ID id) |
static final int NO_POSITION
ID getIdByPosition(int position)
null if position is invalid.
Note, that only one id per position should be possible for "To" view.int getPositionById(ID id)
NO_POSITION if element with given ID is not part of the list.
android.view.View getViewById(ID id)
null if view is not found.
null if view is not found on the screen, list view
will be automatically scrolled to needed position (as returned by
getPositionById(Object)) and this method will be called again.