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
Using latest package of Xamarin.Google.Android.Material (1.4.0.4). Slider has ClearOnChangeListener(), but missing AddOnChangeListener(). Maybe mapping needs to be based on newer version of material package?
That is, the publicSlider class inherits from the privateBaseSlider class, which isn't allowed in C#. Our tooling attempts to fix this and have Slider inherit from the public View instead, and copy all the methods that it can from the BaseSlider class directly into the Slider class.
However, due to the lack of generics support in our tooling, it is unable to copy the addOnChangeListener method which requires a generic parameter. Thus this method is dropped from the binding:
warning BG8800: Unknown parameter type 'L' for member 'Google.Android.Material.Slider.Slider.AddOnChangeListener (L)'.
I would suggest continuing to use the workaround listed in the issue description.
Using latest package of Xamarin.Google.Android.Material (1.4.0.4). Slider has ClearOnChangeListener(), but missing AddOnChangeListener(). Maybe mapping needs to be based on newer version of material package?
Thanks.
Edit:
Ok, I found this post that seems to work: https://stackoverflow.com/questions/67723339/how-to-implement-google-android-material-slider-changelistener-or-addonchangelis
The text was updated successfully, but these errors were encountered: