Trying to use method GetOrCreateRenderer() but visual studios says it doesn't contains a definition for that. Maybe it was removed on newer versions or I'm not using the right namespace?
loadingIndicatorPage.Parent = Xamarin.Forms.Application.Current.MainPage;
loadingIndicatorPage.Layout(new Rectangle(0, 0,Xamarin.Forms.Application.Current.MainPage.Width,
Xamarin.Forms.Application.Current.MainPage.Height));
var renderer = loadingIndicatorPage.GetOrCreateRenderer(); //not recognized
_nativeView = renderer.View;
GetOrCreateRenderer() is deprecated, now use:
Platform.CreateRendererWithContext(view,context);