public interface IndexedPreference extends Preference
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Get the preference index.
|
int |
getItemIndex()
Get the item index.
|
int |
getUserIndex()
Get the user index.
|
getItemId, getUserId, getValue
int getIndex()
PackedPreferenceSnapshot
)
has a unique, contiguous, zero-based index. This is to make it easy to
store additional information related to preferences for efficient learning
scenarios.int getItemIndex()
int getUserIndex()