完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/AbsListView.MultiChoiceModeListener.html
AbsListView.MultiChoiceModeListener
public static interface AbsListView.MultiChoiceModeListener
implements ActionMode.Callback
android.widget.AbsListView.MultiChoiceModeListener |
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.
MultiChoiceModeListener从CHOICE_MODE_MULTIPLE_MODAL
接收事件。它就像选择模式的ActionMode.Callback
行为,并且当用户选择或者取消列表项时,也接受onItemCheckedStateChanged(ActionMode, int, long, boolean)
。
摘要
Public方法 | |
---|---|
abstract void | onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) Called when an item is checked or unchecked during selection mode. |