Package icyllis.modernui.fragment
Interface OnBackPressedDispatcherOwner
- All Superinterfaces:
LifecycleOwner
A class that has an
OnBackPressedDispatcher
that allows you to register a
OnBackPressedCallback
for handling the system back button.
It is expected that classes that implement this interface route the system back button to the dispatcher
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve theOnBackPressedDispatcher
that should handle the system back button.Methods inherited from interface icyllis.modernui.lifecycle.LifecycleOwner
getLifecycle
-
Method Details
-
getOnBackPressedDispatcher
Retrieve theOnBackPressedDispatcher
that should handle the system back button.- Returns:
- The
OnBackPressedDispatcher
.
-