private void apear() { string token = Settings.token; coolers Lcoolers = new coolers(); List <typlatfom> typlatfoms3 = Lcoolers.GetTyplatfoms(token); pickertipoplat.ItemsSource = typlatfoms3; }
private void apear() { try { string token = Settings.token; coolers Lcoolers = new coolers(); List <typlatfom> matstruct = Lcoolers.getstructural(token); pickertipoestruct.ItemsSource = matstruct; List <typlatfom> matdinamic = Lcoolers.getdinamic(token); pickertipodinamic.ItemsSource = matdinamic; } catch (Exception) { Application.Current.MainPage.DisplayAlert("Error", "Opps algo ocuirrio mal!", "OK"); } }