StandaloneActionMode
Constructors
Link copied to clipboard
constructor(context: Context, view: ActionBarContextView, callback: ActionMode.Callback, isFocusable: Boolean)
Functions
Link copied to clipboard
Returns the current custom view for this action mode.
Link copied to clipboard
Returns a MenuInflater with the ActionMode's context.
Link copied to clipboard
Returns the current subtitle of this action mode.
Link copied to clipboard
Returns the current title of this action mode.
Link copied to clipboard
Invalidate the action mode and refresh menu content.
Link copied to clipboard
Link copied to clipboard
Returns whether the UI presenting this action mode can take focus or not.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onMenuItemSelected(@NonNull menu: @NonNull MenuBuilder, @NonNull item: @NonNull MenuItem): Boolean
Called when a menu item is selected.
Link copied to clipboard
Called when the mode of the menu changes (for example, from icon to expanded).
Link copied to clipboard
Link copied to clipboard
Set a custom view for this action mode.
Link copied to clipboard
Set the subtitle of the action mode.
Link copied to clipboard
Set the title of the action mode.
Link copied to clipboard
Set whether or not the title/subtitle display for this action mode is optional.