public ConfigurationPage()
 {
     InitializeComponent();
     BindingContext               = new ConfigurationPageViewModel();
     sNotificaciones.IsToggled    = SQLiteDB.Usuario.Notificaciones;
     sSincronizacion.IsToggled    = SQLiteDB.Usuario.Sincronizar;
     sUsoDeDatosMoviles.IsToggled = SQLiteDB.Usuario.UsarDatos;
     eventOn = true;
 }
        public ConfigurationPage()
        {
            NavigationPage.SetHasNavigationBar(this, false);

            _model                   = new ConfigurationPageViewModel();
            BindingContext           = _model;
            _model.Items             = new ObservableCollection <StorageDir>(AudioBookDataDir.StorageDirs);
            _model.HasExternalMemory = _model.Items.Count > 1;

            InitializeComponent();
        }
Beispiel #3
0
 public ConfigurationPage()
 {
     InitializeComponent();
     ViewModel   = new ConfigurationPageViewModel();
     DataContext = ViewModel;
 }