Redirect after login to Xamarin Forms

Asked

Viewed 61 times

0

I am creating an APP with Xamarin Forms, and after logging in with the login and password I receive the API data, I see that the login was successfully executed because I use the console.write to print the received data. I’m using the line below to redirect to a Dashboard, but generates an Exception.

await Navigation.Pushasync(new Dashboard());

How to redirect to another page?

  • 1

    Try it this way: await Navigation.Pushmodalasync(new Dashboard());

  • What is Exception? It can be a lot, such as an excopo problem in the Pushasync call or an error in the XAML itself Dashboard.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.