MaterialBackOrchestrator

Utility class for views that support back handling via MaterialBackHandler which helps with adding and removing back callbacks on API Level 33+.

Constructors

Link copied to clipboard
constructor(@NonNull backHandlerView: T)
constructor(@NonNull backHandler: MaterialBackHandler, @NonNull view: View)

Functions

Link copied to clipboard
Starts listening for back events with PRIORITY_DEFAULT on API Level 33+.
Starts listening for back events with PRIORITY_OVERLAY on API Level 33+.
Link copied to clipboard
Stops listening for back events on API Level 33+.