public static GAService GetGASInstance() { if (thisRef == null) { // it's ok, we can call this constructor thisRef = new GAService(); } return(thisRef); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); GAService.GetGASInstance().Initialize_NativeGAS(this); LoadApplication(new App()); }