Exemplo n.º 1
0
        protected override void OnCreate(Bundle bundle)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(bundle);

            CustomDependencyService.Register <PathService>();
            CustomDependencyService.Register <IRawSQLitePlatformService, RawSQLitePlatformService>();

            global::Xamarin.Forms.Forms.Init(this, bundle);
            LoadApplication(new App());
        }
Exemplo n.º 2
0
 private void ChangeDatabaseServiceType(Type targetType)
 {
     CustomDependencyService.Register(targetType);
     App.ChangePresented();
 }