![]() SelSubCategories = subCat.FirstOrDefault(a => a. Var subCat = await api.GetSubCategories("sport") Public ObservableCollection SubCategories Private ObservableCollection _subCategories = new ObservableCollection() ![]() Public event Propert圜hangedEventHandler Propert圜hanged To learn more about our offer and reserve your copy, please visit the following webpage: Free DevExpress Mobile UI for Xamarin.Forms and. public class QuizPageViewModel : INotifyPropert圜hanged The DevExpress Mobile UI for Xamarin.Forms and. I also tried with the SelectedIndex which didn't work, but I prefer the SelectedItem, because this is the value I got literally. Items are loaded correctly from the ViewModel, but with the SelectedItem still no success. Then I changed it to a ViewModel to load the data and set the selected item, based on different websites. ![]() īy default the text of the picker the title SUBCategory, but I want to change this to one of the items which I get from an api call.Īt first, I loaded the ItemSource from the view and tried to set the SelectedItem that, but without any success. For my Xamarin Forms app I'm using a picker to select subcategories of a quiz category.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |