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