Releases: lcabrales/multichoiceform
Releases · lcabrales/multichoiceform
MCFButtonStep
Replaced Enums with Magic Constants
Added
ValidateAnimation
class.@IntDef
magic constants forMCFStepType
,ValidationAnim
andDuration
instead of Enum classes.
Removed
- Enum classes.
- Deprecated methods.
Added disabled title and selection color methods
Added
getDisabledTitleColor(int)
.setDisabledTitleColor(int)
.getDisabledSelectionColor(int)
.setDisabledSelectionColor(int)
.
Deprecated
getDisabledTextColor(int)
.setDisabledTextColor(int)
.
Added MCFStep.tag parameter
Added
MCFStep.tag
parameter, which has a default ofMCFStep.getView().getId()
.
You can now use this parameter instead of the view id to identify theMCFStep
. This is preferable when
working with dynamic lists ofMCFStep
where the view id is the same for all of theMCFSteps
, such as
ViewHolder
s.
Modified
- Method to retrieve a certain
MCFStep
from the list ofMCFStep
s, it is now based on itstag
parameter.
Deprecated
getStepFromId(@IdRes int)
.
Improved
MCFStep
constructors.
Customization parameters
Added
- Text size parameters.
- Disabled color parameters.
Step views resizing
Improved
- Adaptability of the step views to adjust their size according to the text length.
- Reduced the text size by
2dp
.
Fixed Regex crash
Fixed
- Crash when there was not any
Regex
specified.
MCFTextInputStep
Added
- New support for text input form fields.
Step view size management
Fixed
- Implementation of
setTitleMaxLines
andsetSelectionMaxLines
Improved
- Performance on the step views when the texts are too long.
Form Builder methods for SearchView parameters
Added
- Builder method to set the
SearchView
's hint. - Builder method to set the
SearchView
's icon tint color.
Fixed
- Android Oreo issue with the SearchView where it would not collapse the ActionView.