public static interface AbsListView.MultiChoiceModeListener extends ActionMode.Callback
AbsListView.CHOICE_MODE_MULTIPLE_MODAL. It acts as the
ActionMode.Callbackfor the selection mode and also receives
onItemCheckedStateChanged(ActionMode, int, long, boolean)events when the user selects and deselects list items.
|Modifier and Type||Method and Description|
Called when an item is checked or unchecked during selection mode.
void onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked)
ActionModeproviding the selection mode
position- Adapter position of the item that was checked or unchecked
id- Adapter ID of the item that was checked or unchecked
trueif the item is now checked,
falseif the item is now unchecked.