protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; var container = new ContextContainer(); ContextContainer.Instance.Context = this; base.OnCreate(bundle); Forms.SetFlags("CollectionView_Experimental"); global::Xamarin.Forms.Forms.Init(this, bundle); CachedImageRenderer.Init(true); var ignore = typeof(SvgCachedImage); AnimationViewRenderer.Init(); LoadApplication(new App(new AndroidInitializer())); }
public ContextContainer() { Instance = this; }