public static GAService GetGASInstance() { if (thisRef == null) { // it's ok, we can call this constructor thisRef = new GAService(); } return(thisRef); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); GAService.GetGASInstance().Initialize_NativeGAS(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }