What dependency I need to add to use com.google.android.material.slider.Slider

2.5k Views Asked by At

What dependency I need to add to my Android Studio project to use this component? And, in general, how to know what dependency I need to add to use a Google Material component?

1

There are 1 best solutions below

0
On BEST ANSWER

You have to use the Material Components Library:

implementation 'com.google.android.material:material:1.2.0-rc01'

The Slider components was introduced with the version 1.2.0-alpha01