A really simple (and brief) one today;
I was using a callback to update button title from a picker; I was defining a callback as follows;
When no selection is made, the above code made my app crash on Android. On iOS it worked fine. This threw a cast exception on Android.
The fix was a simple one. Just add an empty string to the selection;
I was using a callback to update button title from a picker; I was defining a callback as follows;
When no selection is made, the above code made my app crash on Android. On iOS it worked fine. This threw a cast exception on Android.
The fix was a simple one. Just add an empty string to the selection;