共用方式為


AbsListView.SetMultiChoiceModeListener Method

Definition

Set a MultiChoiceModeListener that will manage the lifecycle of the selection ActionMode.

[Android.Runtime.Register("setMultiChoiceModeListener", "(Landroid/widget/AbsListView$MultiChoiceModeListener;)V", "GetSetMultiChoiceModeListener_Landroid_widget_AbsListView_MultiChoiceModeListener_Handler")]
public virtual void SetMultiChoiceModeListener (Android.Widget.AbsListView.IMultiChoiceModeListener? listener);
[<Android.Runtime.Register("setMultiChoiceModeListener", "(Landroid/widget/AbsListView$MultiChoiceModeListener;)V", "GetSetMultiChoiceModeListener_Landroid_widget_AbsListView_MultiChoiceModeListener_Handler")>]
abstract member SetMultiChoiceModeListener : Android.Widget.AbsListView.IMultiChoiceModeListener -> unit
override this.SetMultiChoiceModeListener : Android.Widget.AbsListView.IMultiChoiceModeListener -> unit

Parameters

listener
AbsListView.IMultiChoiceModeListener

Listener that will manage the selection mode

Attributes

Remarks

Java documentation for android.widget.AbsListView.setMultiChoiceModeListener(android.widget.MultiChoiceModeListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also