public static interface SelectionBehavior.SelectionChangedListener
Modifier and Type | Method and Description |
---|---|
void |
onItemIsSelectedChanged(int position,
boolean newValue)
Called when the selection state of the item at the specified position changes.
|
void |
onSelectionEnded()
Called when the selection ends.
|
void |
onSelectionStarted()
Called when the selection starts.
|
void onSelectionStarted()
void onItemIsSelectedChanged(int position, boolean newValue)
position
- the position of the item whose selection state changes.newValue
- the new value whether the item is selected.void onSelectionEnded()