oli107 / material-range-bar

Android widget for selecting a range of values.
Apache License 2.0
1.68k stars 370 forks source link

version 1.5.2 Kotlin Conversion and API support for 24+ @oli107 #193

Open ozzy4654 opened 4 years ago

ozzy4654 commented 4 years ago

Version 1.5.2 of my Fork is a kotlin conversion and includes bug fixes for this lib @oli107 I would like to submit the work, I also added some new helpful functions to allow devs to control the RangBar programmatically better. As well as changing boundary colors without having to recreate a a new PinView when its not need if it is not null.

bkhall commented 3 years ago

The "active colors" are still busted in 1.5.4.

If you set a new color on anything, then disable and re-enable the RangeBar, the colors will revert to the original color.

The "active colors" are set only in the constructor and are not updated with the respective color setters.