Join us for ⁠#Android11: The Beta Launch Show on June 3!

OnNavigateUpListener

interface OnNavigateUpListener
androidx.navigation.ui.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

abstract fun onNavigateUp(): Boolean

Callback for handling the Up button.

Return
Boolean true if the listener successfully navigated 'up'