How to store App settings in Xamarin.Forms

It can be done this way too using Properties Dictionary for storing data: Application.Current.Properties [“id”] = someClass.ID; for fetching data: if (Application.Current.Properties.ContainsKey(“id”)) { var id = Application.Current.Properties [“id”] as int; // do something with id } ref: https://developer.xamarin.com/guides/xamarin-forms/working-with/application-class/#Properties_Dictionary

Xamarin.Android Proguard – Unsupported class version number 52.0

You need to update the default Android SDK proguard.jar with the latest version of Proguard found here: https://sourceforge.net/projects/proguard/files/ I would recommend that you install this on the side of the default version that Android ships in android-sdk\tools\proguard. Simply rename the existing folder to something else and add the new version of proguard. This is listed … Read more

How to log in to Facebook in Xamarin.Forms

UPDATE (10/24/17): While this way of doing things was okay a few years ago, I now strongly advocate for using native UI for doing authentication, as opposed to the webview method shown here. Auth0 is a great way to accomplish native UI login for your apps, using a wide variety of identity providers: https://auth0.com/docs/quickstart/native/xamarin EDIT: … Read more

Separators in Xamarin.Forms

You might try using BoxView // sl is a StackLayout sl.Children.Add(new BoxView() { Color = Color.Black, WidthRequest = 100, HeightRequest = 2 }); although in my test, the width request is not being followed. This may be a bug, or other settings might be interfering with it.