Skip to content

Bug fix

Compare
Choose a tag to compare
@RobertApikyan RobertApikyan released this 20 Jun 06:15
· 1 commit to develop_supported_selections_count since this release

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)