Skip to content

Releases: RobertApikyan/SegmentedControl

Added supportedSegmentsCount and reselectionEnabled

25 Jun 17:31
Compare
Choose a tag to compare
  1. 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

  2. reselectionEnabled - true each section width with will be equal to each other, false each section width will be measured depending on its content width

Bug fix

20 Jun 06:15
Compare
Choose a tag to compare

implementation '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)

Multi selection

19 Jun 17:41
Compare
Choose a tag to compare

{@link #setSupportedSelectionsCount(int)}

implementation 'com.github.RobertApikyan:SegmentedControl:1.2-alpha'

Resolved Gradle 3.4.0 and white color issues

20 Apr 11:35
Compare
Choose a tag to compare

Resolved Gradle 3.4.0 and white color issues

20 Apr 11:31
Compare
Choose a tag to compare

Added methods to remove OnSegmentClickListener and OnSegmentSelectListener

07 Feb 05:56
2201946
Compare
Choose a tag to compare
Merge pull request #17 from Envative/master

Added methods to remove OnSegmentClickListener and OnSegmentSelectListener

Updated dependencies

29 Nov 17:25
Compare
Choose a tag to compare
1.0.9

1.0.9

Background Animation & Focused Background

18 Nov 08:19
Compare
Choose a tag to compare

Two 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))
  • 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))

Background Animation

04 Nov 18:32
Compare
Choose a tag to compare
Background Animation Pre-release
Pre-release
1.0.7.3

1.0.7.3

Background Animation

04 Nov 18:05
Compare
Choose a tag to compare
Background Animation Pre-release
Pre-release
1.0.7.2

1.0.7.2