AppBarConfiguration.OnNavigateUpListener


fun interface AppBarConfiguration.OnNavigateUpListener


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

Summary

Public functions

Boolean

Callback for handling the Up button.

Public functions

onNavigateUp

Added in 1.0.0
fun onNavigateUp(): Boolean

Callback for handling the Up button.

Returns
Boolean

true if the listener successfully navigated 'up'