public void GoBack(TPageIdentifier stackIdentifier, object args = null) { var result = ResolveStackManager(stackIdentifier).GoBack(args); if (result.WentBack) { WentBack?.Invoke(this, result.TargetPage); CurrentPage = result.TargetPage; } }
public void GoBack(object args = null) { var result = _stackManagers.First().Value.GoBack(args); if (result.WentBack) { WentBack?.Invoke(this, result.TargetPage); CurrentPage = result.TargetPage; } }
public bool OnBackRequested(TPageIdentifier stackIdentifier) { var result = ResolveStackManager(stackIdentifier).OnBackRequested(); if (result.WentBack) { WentBack?.Invoke(this, result.TargetPage); CurrentPage = result.TargetPage; } return(result.WentBack); }
public bool OnBackRequested() { var result = _stackManagers.First().Value.OnBackRequested(); if (result.WentBack) { WentBack?.Invoke(this, result.TargetPage); CurrentPage = result.TargetPage; } return(result.WentBack); }