Skip to main content

set_back_interception

Function set_back_interception 

Source
pub fn set_back_interception(enabled: bool)
Expand description

Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Declare whether the app currently wants the platform’s back control routed to push_back_request instead of the platform default. Set it true while there is in-app navigation to pop and false when leaving the app is the right response (mirrors Compose’s BackHandler(enabled)).