OnBackCompletedFallback


public fun interface OnBackCompletedFallback


A listener that provides a final fallback action for unhandled backCompleted callbacks.

This is typically used to provide a default system behavior, like finishing an Activity, when no other part of the application consumes the back navigation event.

Summary

Public methods

abstract void

Called when a backCompleted callback is dispatched but not handled by any NavigationEventHandler.

Public methods

onBackCompletedFallback

Added in 1.0.0-alpha09
abstract void onBackCompletedFallback()

Called when a backCompleted callback is dispatched but not handled by any NavigationEventHandler.