Sdílet prostřednictvím


AbsListView.IMultiChoiceModeListener Interface

Definition

A MultiChoiceModeListener receives events for AbsListView#CHOICE_MODE_MULTIPLE_MODAL.

[Android.Runtime.Register("android/widget/AbsListView$MultiChoiceModeListener", "", "Android.Widget.AbsListView/IMultiChoiceModeListenerInvoker")]
public interface AbsListView.IMultiChoiceModeListener : Android.Views.ActionMode.ICallback, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/widget/AbsListView$MultiChoiceModeListener", "", "Android.Widget.AbsListView/IMultiChoiceModeListenerInvoker")>]
type AbsListView.IMultiChoiceModeListener = interface
    interface ActionMode.ICallback
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Attributes
Implements

Remarks

A MultiChoiceModeListener receives events for AbsListView#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.

Java documentation for android.widget.AbsListView.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.

Fields

DefaultHideDuration

Default value to hide the action mode for ViewConfiguration#getDefaultActionModeHideDuration().

(Inherited from ActionMode)

Properties

CustomView

Returns the current custom view for this action mode.

(Inherited from ActionMode)
Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
IsTitleOptional (Inherited from ActionMode)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
Menu

Returns the menu of actions that this action mode presents.

(Inherited from ActionMode)
MenuInflater

Returns a MenuInflater with the ActionMode's context.

(Inherited from ActionMode)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)
Subtitle (Inherited from ActionMode)
SubtitleFormatted

Returns the current subtitle of this action mode.

(Inherited from ActionMode)
Tag

Retrieve the tag object associated with this ActionMode. -or- Set a tag object associated with this ActionMode.

(Inherited from ActionMode)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from ActionMode)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from ActionMode)
Title (Inherited from ActionMode)
TitleFormatted

Returns the current title of this action mode.

(Inherited from ActionMode)
TitleOptionalHint

Set whether or not the title/subtitle display for this action mode is optional.

(Inherited from ActionMode)
Type

Returns the type for this action mode. -or- Set a type for this action mode.

(Inherited from ActionMode)

Methods

Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
Finish()

Finish and close this action mode.

(Inherited from ActionMode)
Hide(Int64)

Hide the action mode view from obstructing the content below for a short duration.

(Inherited from ActionMode)
Invalidate()

Invalidate the action mode and refresh menu content.

(Inherited from ActionMode)
InvalidateContentRect()

Invalidate the content rect associated to this ActionMode.

(Inherited from ActionMode)
OnItemCheckedStateChanged(ActionMode, Int32, Int64, Boolean)

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

OnWindowFocusChanged(Boolean)

Called when the window containing the view that started this action mode gains or loses focus.

(Inherited from ActionMode)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
SetSubtitle(Int32)

Set the subtitle of the action mode.

(Inherited from ActionMode)
SetTitle(Int32)

Set the title of the action mode.

(Inherited from ActionMode)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to