androidbeatz
androidbeatz

Reputation: 11

How to handle fragment back stacks using mvvmcross Xamarin Android

Currently I am using Showviewmodel for navigating to different pages in Navigation drawer, but I click back I am able to see all my previous pages.So is there anyway to clear all previous fragment stack using mvvmcross?

Upvotes: 1

Views: 255

Answers (1)

hugo
hugo

Reputation: 1849

You need to add the attribute

[Activity(NoHistory = true)]

on top of each MvxActivity you dont want to save in the backstack

Upvotes: 2

Related Questions