RouteReuseStrategy
Class
stable
Provides a way to customize when activated routes get reused.
shouldDetach
booleanDetermines if this route (and its subtree) should be detached to be reused later
@returns
booleanstore
voidStores the detached route.
Storing a null value should erase the previously stored value.
@returns
voidshouldAttach
booleanDetermines if this route (and its subtree) should be reattached
@returns
booleanretrieve
DetachedRouteHandle | nullRetrieves the previously stored route
@returns
DetachedRouteHandle | nullshouldReuseRoute
booleanDetermines if a route should be reused
@returns
booleanJump to details