Closed devgianlu closed 6 years ago
Apparently the issue is much bigger because AbsMaterialPreference#init(AttributeSet)
cannot be called if defaultValue
isn't set. If you agree, I can create a pull request with some builder classes to solve these issues.
Did this with more stuff on my fork.
Many properties can be set only from XML, but sometimes you need to adjust these values programmatically.
Missing setters:
MaterialSeekBarPreference#minValue
MaterialSeekBarPreference#maxValue
MaterialSeekBarPreference#showValue
AbsMaterialPreference#key
AbsMaterialPreference#defaultValue