CollapsibleActionView

interface CollapsibleActionView
androidx.appcompat.view.CollapsibleActionView

When a android.view.View implements this interface it will receive callbacks when expanded or collapsed as an action view alongside the optional, app-specified callbacks to androidx.core.view.MenuItemCompat.OnActionExpandListener.

See androidx.core.view.MenuItemCompat for more information about action views. See android.app.ActionBar for more information about the action bar.

Summary

Public methods

abstract Unit

Called when this view is collapsed as an action view.

abstract Unit

Called when this view is expanded as an action view.

Public methods

onActionViewCollapsed

abstract fun onActionViewCollapsed(): Unit

Called when this view is collapsed as an action view. See android.view.MenuItem#collapseActionView().

onActionViewExpanded

abstract fun onActionViewExpanded(): Unit

Called when this view is expanded as an action view. See android.view.MenuItem#expandActionView().