DismissablePanelStackContext

A panel context for Panels in a dismissable panel stack.

Inherited properties

Link copied to clipboard
abstract val onBackPressed: () -> Unit

Function to be invoked when the end-user presses the back button. This action indicates that the previous panel in the view stack should be shown.

Link copied to clipboard
abstract val safeArea: LiveData<SafeArea?>

The area in which information important to the user should be displayed. Due to the nature of calculating the safe area, the value of this LiveData may be updated during a layout pass. If this is relevant to processing the safe area change, View.isInLayout can be consulted to determine if the value is being updated during a layout pass.

Link copied to clipboard

Allows interaction with the default Android soft input method, such as showing and hiding the standard on-screen Android keyboard.