public MainPage(IAPIinterface apiService)
 {
     _apiService       = apiService;
     mainPageViewModel = new MainViewModel(_apiService);
     InitializeComponent();
     SfListViewCountries.ItemsSource = mainPageViewModel.Countries;
 }
Example #2
0
 public MainViewModel(IAPIinterface apiService)
 {
     _apiService       = apiService;
     Countries         = GetCountries().Result;
     ActivityIndicator = new bool();
     ActivityIndicator = false;
 }
 public EditViewModel(IAPIinterface apiService)
 {
     _apiService = apiService;
 }
Example #4
0
 public RegisterViewModel(IAPIinterface apiService)
 {
     _apiService = apiService;
 }
Example #5
0
 public InfoViewModel(IAPIinterface _apiService)
 {
     this._apiService     = _apiService;
     _localService        = new LocalService();
     explorerHubViewModel = new ExplorerHubViewModel();
 }
Example #6
0
 public LoginViewModel(IAPIinterface apiService)
 {
     _apiService = apiService;
 }