Solution 1 :
To prevent crossing each other is the standard behavior starting from the version 1.2.0-rc01
and 1.3.0-alpha02
,
Use
implementation 'com.google.android.material:material:1.2.0-rc01'
or higher versions.
Note: The 1.2.0-rc01
is newer than 1.3.0-alpha01
(which is not fixed yet).
Problem :
I use material design components RangeSlider
And I want to do is when left (or right)slider touch another slider, it should not over it
I have no idea how to do it. Or exists any api that can easily achieve?
Comments
Comment posted by github.com/material-components/material-components-android/…
It is fixed with
Comment posted by GHH
@GabrieleMariotti Thanks. I read the doc but don’t know how to use it
Comment posted by Gabriele Mariotti
You have only to wait for the next release where the issue is fixed.
Comment posted by sarwadnya deshpande
I amusinf 1.3.0alpha1 still I have same problem rangeslider crossing each other
Comment posted by Gabriele Mariotti
@sarwadnyadeshpande The