Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency
implementation("com.github.m-vytoshko:CarouselColorPicker:latestVersion")
Implement IPalette
Implement IndicatorPainter
<com.mv.colorpicker.ColorPickerView
...
app:shadesCount="5" />
<com.mv.colorpicker.ColorPickerView
...
app:shadeRatio="0.05" />