BackPressedGuard

Interface that can be implemented by any class which may want to prevent an Activity's back navigation

Inheritors

Functions

Link copied to clipboard
abstract fun shouldNavigateBack(): Boolean

Handle back navigation if applicable and notify the Activity if it should handle back pressed normally