Пример #1
0
        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()));
        }
Пример #2
0
 public ContextContainer()
 {
     Instance = this;
 }