material-range-bar icon indicating copy to clipboard operation
material-range-bar copied to clipboard

Reset pin

Open Ishwor-Shrestha opened this issue 8 years ago • 4 comments

Is there a way to reset the pins?

Ishwor-Shrestha avatar Oct 17 '16 12:10 Ishwor-Shrestha

rangeBar.setRangePinsByValue(0, 200);

vo55 avatar Feb 01 '17 13:02 vo55

@philipbarwi @Ishwor-Shrestha after resetting the ranger the Thumb disappears. Do you have the same problem? Reset: rangeBar.setRangePinsByValue(0, 200);

XML

<com.appyvet.rangebar.RangeBar
            android:id="@+id/rangeBar"
            style="@style/RangeBar"
            android:layout_width="match_parent"
            android:layout_height="72dp"
            custom:tickEnd="200"
            custom:tickHeight="0dp"
            custom:tickInterval="1"
            custom:tickStart="0" />

candeiasdan avatar Feb 17 '17 12:02 candeiasdan

As @candeiasdan said, after resetting the pins the thumbs disappear

Ishwor-Shrestha avatar Apr 02 '17 08:04 Ishwor-Shrestha

Sorry, it's been a while and I am not using it anymore, since I finished the project where I used it. Hope anybody else can help you out

vo55 avatar Apr 02 '17 13:04 vo55