public abstract class ChoiceModeObserver extends Object
ChoiceMode.
See ChoiceMode.registerChoiceModeObserver(ChoiceModeObserver) .| Constructor and Description |
|---|
ChoiceModeObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyAllItemsCheckedChanged(boolean fromUser)
Called when the selection of the all items in the choice mode have been changed.
|
void |
onItemCheckedChanged(long itemId,
boolean fromUser)
Called when the selection of the item in the choice mode have been changed.
|
public void onItemCheckedChanged(long itemId,
boolean fromUser)
itemId - The item's id or RecyclerView#NO_ID.fromUser - True if the checked state change was initiated by the user.public void notifyAllItemsCheckedChanged(boolean fromUser)
fromUser - True if the checked state change was initiated by the user.