Esempio n. 1
0
        protected override void OnResume()
        {
            base.OnResume();

            EnableBackButton(false);

            ShowSubViewContainer(false);

            _adapter?.LoadData(ViewModel.Motorcycles);
        }
Esempio n. 2
0
        // -----------------------------------------------------------------------------

        // Overrides
        protected override void ViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
        {
            if (e.PropertyName == nameof(ViewModel.Motorcycles))
            {
                _adapter?.LoadData(ViewModel.Motorcycles);
                return;
            }
        }