Releases: davidmigloz/multi-state-switch
Releases · davidmigloz/multi-state-switch
2.2.0
- Able to configure background corner radius (#14) | Thanks @delacrixmorgan
- Update dependencies
2.1.0
- Add getCurrentState() and getCurrentStateIndex() methods
- Update dependencies
- Target Android 12 (API 31)
- Migrate to Java 11
- Remove buildToolsVersion
- Remove JCenter
2.0.1
2.0.0
- Support remove states programmatically #6
- Support nested scroll when used inside a RecyclerView or ViewPager #8
- Migrate to Kotlin #9
- Update dependencies
Breaking change:
- Minimum API requirements: API >= 21 (Android 5.0 - LOLLIPOP)
replaceState(int stateIndex, String stateText)
renamed toreplaceStateFromString(stateIndex: Int, stateText: String)
1.4.1
1.4.0
1.3.1
1.3.0
- Add extra methods to add states from strings.
- Fix wrong type for disabled_text_color attribute.
1.2.1
- Prevent NPE when selecting state if view not initialised.
1.2.0
- Allow replacing state directly from a string.