RouteReuseStrategy
Class
Provides a way to customize when activated routes get reused.
API
abstract class RouteReuseStrategy {}
shouldDetach
boolean
Determines if this route (and its subtree) should be detached to be reused later
@returns
boolean
store
void
Stores the detached route.
Storing a null
value should erase the previously stored value.
@returns
void
shouldAttach
boolean
Determines if this route (and its subtree) should be reattached
@returns
boolean
retrieve
DetachedRouteHandle | null
Retrieves the previously stored route
@returns
DetachedRouteHandle | null
shouldReuseRoute
boolean
Determines if a route should be reused
@returns
boolean
Jump to details