Changelog History
-
v1.2.0 Changes
June 25, 2019๐ supportedSegmentsCount - Will enabled multy selection, default value is 1, only one item can be selected at the time, if the selection count is reached the elder selection will be unselected
reselectionEnabled - true each section width with will be equal to each other, false each section width will be measured depending on its content width
-
v1.2-alpha Changes
June 19, 2019๐ {@link #setSupportedSelectionsCount(int)}
implementation 'com.github.RobertApikyan:SegmentedControl:1.2-alpha'
-
v1.2.0.1 Changes
June 20, 2019implementation 'com.github.RobertApikyan:SegmentedControl:1.2.0.1-alpha'
๐ Fixed
java.util.NoSuchElementException
at java.util.LinkedList.getLast(LinkedList.java:257)
W/System.err: at segmented_control.widget.custom.android.com.segmentedcontrol.SegmentedControlControllerComponent.getLastSelectedViewHolder(SegmentedControlControllerComponent.java:103)
W/System.err: at segmented_control.widget.custom.android.com.segmentedcontrol.SegmentedControlControllerComponent.recreate(SegmentedControlControllerComponent.java:201)
W/System.err: at segmented_control.widget.custom.android.com.segmentedcontrol.SegmentedControlControllerComponent.notifyConfigIsChanged(SegmentedControlControllerComponent.java:156)
W/System.err: at segmented_control.widget.custom.android.com.segmentedcontrol.SegmentedControl.notifyConfigIsChanged(SegmentedControl.java:620) -
v1.1.3
April 20, 2019 -
v1.1.2
April 20, 2019 -
v1.1.1
April 20, 2019 -
v1.1.0
February 07, 2019 -
v1.0.9
November 29, 2018 -
v1.0.8 Changes
November 18, 2018Two features are added.
- First one is for background color animation while selection. Animation duration can be changed with selectionAnimationDuration attribute from xml (or programmaticallysetSelectionAnimationDuration(int duration))
- 0๏ธโฃ Second one is for focused background color, which default value is selected background color with 16% of alpha. Default value can be changed with focusedBackgroundColor attribute from xml (or programmatically setFocusedBackgroundColor(int color))
-
v1.0.7.3
November 04, 2018