August 2016
Beginner to intermediate
1049 pages
23h 17m
English
Almost every application has an authentication screen. Here, we will examine the root application page of a Xamarin.Forms application by creating a login screen where the user can set his username, password and tap the login button to get access.
You can create a new solution or continue from the previous section.
In our core PCL project:
FormsCookbook.cs file.var userNameEntry = new Entry { Placeholder = "username" }; var passwordEntry = new Entry { Placeholder = "password", IsPassword = true }; var loginButton = new Button { Text = "Login" }; loginButton.Clicked += (sender, e) => { Debug.WriteLine(string.Format("Username: ...Read now
Unlock full access