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?
Asked
Active
Viewed 2,306 times
2

Gabriele Mariotti
- 320,139
- 94
- 887
- 841

The Matrix
- 1,268
- 2
- 14
- 23
-
Does this answer your question? [How do I import material design library to Android Studio?](https://stackoverflow.com/questions/27364565/how-do-i-import-material-design-library-to-android-studio) – Rajnish Sharma Jul 22 '20 at 17:28
-
Before asking a question you should google it first! Or check if the answer is already present on stack overflow. – Rajnish Sharma Jul 22 '20 at 17:29
1 Answers
6
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

Gabriele Mariotti
- 320,139
- 94
- 887
- 841