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

Viewed 1840

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 Answers

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

Related