Sdílet prostřednictvím


ActionMode.Invalidate Method

Definition

Invalidate the action mode and refresh menu content.

[Android.Runtime.Register("invalidate", "()V", "GetInvalidateHandler")]
public abstract void Invalidate ();
[<Android.Runtime.Register("invalidate", "()V", "GetInvalidateHandler")>]
abstract member Invalidate : unit -> unit
Attributes

Remarks

Invalidate the action mode and refresh menu content. The mode's ActionMode.Callback will have its Callback#onPrepareActionMode(ActionMode, Menu) method called. If it returns true the menu will be scanned for updated content and any relevant changes will be reflected to the user.

Java documentation for android.view.ActionMode.invalidate().

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