public override void Show(MvxViewModelRequest request) { if (request.PresentationValues?["NavigationCommand"] == "StackClear") { CurrentFragmentManager.PopBackStack(); } base.Show(request); }
public override void Show(MvxViewModelRequest request) { if (request.PresentationValues?[Constants.NavigationCommandKey] == Constants.NavigationCommandClearStackValue) { for (int i = 0; i < CurrentFragmentManager.BackStackEntryCount; i++) { CurrentFragmentManager.PopBackStack(null, FragmentManager.PopBackStackInclusive); } } base.Show(request); }