You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm really not sure. I've just spun it up on a Nougat 7.1 device and it seems to work fine (just a clone, build, run). It's quite possible that newer versions of Android SDK and/or Xamarin Forms may be to blame (this demo is a bit old, I think I'll at least update the packages soon).
Last thing: did you try casting it to SwitchCompat instead? It might have been an oversight on my part (since the CheckedChange event wire-up was done to a SwitchCompat further up). In which case I apologise.
Getting a System.InvalidCastException from this line:
https://github.com/wislon/xfdemos/blob/master/src/xamformsdemo/xamformsdemo.Droid/Effects/ChangeColorSwitchEffect.cs#L73
It works on iOS. Any idea why?
The text was updated successfully, but these errors were encountered: