Skip to main content

IActivityNavigationService

Trait IActivityNavigationService 

Source
pub trait IActivityNavigationService {
    // Required method
    fn back_requested(
        &self,
        handler: Rc<dyn Fn(&AndroidBackRequestedEventArgs)>,
    ) -> Rc<dyn IDisposable>;
}

Required Methods§

Source

fn back_requested( &self, handler: Rc<dyn Fn(&AndroidBackRequestedEventArgs)>, ) -> Rc<dyn IDisposable>

Raised when the user asks to go back.

Disposing the returned value removes the handler.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§