My code is very simple - I am attempting to add a Picker() to the StackLayout. The app crashes immediately without any exception - so it took me a while to debug what was causing it to crash. After commenting the other 5 controls, I narrowed it down to the Picker. When the Picker is not added to the StackLayout, I do not experience the crash.
// Doesn't work
Picker picker = new Picker();
picker.HorizontalOptions = LayoutOptions.FillAndExpand;
Children.Add(picker);
// Does work
Picker picker = new Picker();
picker.HorizontalOptions = LayoutOptions.FillAndExpand;
// Children.Add(picker);
Thanks in advance, and happy new year to those overseas