Exemple #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(savedInstanceState);

            // Init Xamarin.Essentials
            Platform.Init(this, savedInstanceState);

            // Init Xamarin.Forms
            Forms.Init(this, savedInstanceState);

            // Init FFImageLoading
            CachedImageRenderer.Init(true);

            // Init Xamarin.FormsMaps
            FormsMaps.Init(this, savedInstanceState);

            // Init Common Service
            CsServiceDroid.Init();

            LoadApplication(new App());
        }
Exemple #2
0
 public static void Init()
 {
     _ = new CsServiceDroid();
 }