mobile - Xamarin forms: The equivalent of .Finish() -
i have xamarin forms application on 3 platforms. app has login screen , other pages available 1 user has logged in. question is: in xamarin forms; there way have equivalent of finish method xamrin android provides remove login page navigation stack? if user keeps pressing button login screen undesirable. have tried using navigation.popasync () seem not work
navigation.popasync
, navigation.removepage
should work.
but if page mainpage
can't remove it. change page using code:
app.current.mainpage = new navigationpage(new mycontentpage());
Comments
Post a Comment