Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

MasterDetail/Modal Dialog

$
0
0

The main page of my app is a MasterDetail view, taken from the MobileCRM sample. We need to present a login flow before this main screen is displayed. And we don't want the user to to be able to get back to the login screen once they have logged in. Is this possible with Xamarin forms.

The closest I have got to getting this to work is showing a modal dialog when the MasterDetail page is first shown. Works fine on iOS but physical back button on Android dismisses the modal dialog, presenting the main screen without the user logging in.

Any solutions not using modal dialogs add the login pages to the nav stack and allows users to navigate back to them.

thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles