yarolegovich / MaterialPreferences

A highly flexible set of lovely looking views that provides functionality of preferences.
Apache License 2.0
484 stars 65 forks source link

Missing setters #16

Closed devgianlu closed 6 years ago

devgianlu commented 6 years ago

Many properties can be set only from XML, but sometimes you need to adjust these values programmatically.

Missing setters:

devgianlu commented 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.

devgianlu commented 6 years ago

Did this with more stuff on my fork.