xamarin forms - two way binding with a picker - why cant I update a picker from code behind?
- 阅读更多 关于 xamarin forms - two way binding with a picker - why cant I update a picker from code behind?
问题 My products page only shows 'Product Name' and 'Quantity', quantity isdisplayed/ binded to the picker. For test purposes to get this working there is only 2 products loading from the VM. Wine 1 and wine 2. When the application loads, why is the picker empty with no value selected. When quantity for each item is set to 1, when loading from the VM Quantity is set to 1, the picker is just not updating when it initially loads, I know this because if I click on the empty picker and select 1.