All Versions
10
Latest Version
Avg Release Cycle
33 days
Latest Release
612 days ago

Changelog History

  • v1.2.0

    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

    June 19, 2019

    ๐Ÿ‘ {@link #setSupportedSelectionsCount(int)}

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

  • v1.2.0.1

    June 20, 2019

    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)

  • 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

    November 18, 2018

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