Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

AbsListView.MultiChoiceModeListener

implements ActionMode.Callback
android.widget.AbsListView.MultiChoiceModeListener

Class Overview

A MultiChoiceModeListener receives events for CHOICE_MODE_MULTIPLE_MODAL . It acts as the ActionMode.Callback for the selection mode and also receives onItemCheckedStateChanged(ActionMode, int, long, boolean) events when the user selects and deselects list items.

Summary

Public Methods
abstract void onItemCheckedStateChanged ( ActionMode mode, int position, long id, boolean checked)
Called when an item is checked or unchecked during selection mode.
[Expand]
Inherited Methods
From interface android.view.ActionMode.Callback

Public Methods

public abstract void onItemCheckedStateChanged ( ActionMode mode, int position, long id, boolean checked)

Called when an item is checked or unchecked during selection mode.

Parameters
mode The ActionMode providing 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
checked true if the item is now checked, false if the item is now unchecked.