public interface IIdentifyable<T>
| Modifier and Type | Method and Description |
|---|---|
long |
getIdentifier()
returns the identifier of this item
-1 is the default not set state
|
T |
withIdentifier(long identifier)
set the identifier of this item
|
T withIdentifier(long identifier)
identifier - the identifier which will be used (also for getItemId() inside the adapter)long getIdentifier()