NavigablePanelStackContext

A context for panels which are navigable. These panels are part are part of a view stack. Navigable panels allow users to navigate between the panels in the view stack.

Properties

Link copied to clipboard
abstract override 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.

Inherited properties

Link copied to clipboard
abstract val id: PanelContextId

Identifier.

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.