Esempio n. 1
0
        public MainViewModel(MainModel model, IDefaultMessenger defaultMessenger, 
                             IExtNavigationService navigationService, IExtDialogService dialogService) 
             : base(defaultMessenger, model, navigationService, dialogService)
        {
            _defaultMessenger = defaultMessenger;

            Model = model;
        }
Esempio n. 2
0
 public MainViewModel(MainModel mainModel, IDefaultMessenger defaultMessenger) : base(defaultMessenger)
 {
     MainModel = mainModel;
     _defaultMessenger = defaultMessenger;
 }
Esempio n. 3
0
        public MainViewModel(IAppLoader appLoader, MainModel mainModel, IDefaultMessenger defaultMessenger) : base(defaultMessenger)
        {
            _appLoader = appLoader;
            MainModel = mainModel;
            this.IsLoading = false;
            MainModel.IsLoading = false;
            _defaultMessenger = defaultMessenger;
            this.numberpage = "20";
            this.skippage = "0";
            LoadModelsCommand.Execute(null);

            /*ButtonItems = new ObservableCollection<string>
            {
                "Xamarin",
                "Xamarin.Forms"
            };*/
        }