/// <summary> /// Initializes a new instance of the <see cref="AddNewCurrencyVM"/> class. /// </summary> /// <param name="nav"></param> public AddNewCurrencyVM(INavigation nav) { Navigation = nav; BackCommand = new Command(OnBackAsync); SearchCommand = new Command(OnSearchAsync); var ASCOrderedCurrencyList = new ObservableCollection <CountryPickerModel>(CountryPickerModel.CurrencyPickerData().ToList().OrderBy(z => z.Currency).ToList()); CurrencyList = ASCOrderedCurrencyList; }
public async Task GetCountriesList() { TempCountryPickerListItem = new ObservableCollection <CountryPickerModel>(CountryPickerModel.CountryPickerData().ToList().OrderBy(z => z.Currency).ToList()); }