AppBarConfiguration.OnNavigateUpListener

public fun interface AppBarConfiguration.OnNavigateUpListener


Interface for providing custom 'up' behavior beyond what is provided by androidx.navigation.NavController.navigateUp.

Summary

Public methods

abstract boolean

Callback for handling the Up button.

Public methods

onNavigateUp

Added in 1.0.0
abstract boolean onNavigateUp()

Callback for handling the Up button.

Returns
boolean

true if the listener successfully navigated 'up'