oli107 / material-range-bar

Android widget for selecting a range of values.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reset pin

Ishwor-Shrestha opened this issue · comments

Is there a way to reset the pins?

rangeBar.setRangePinsByValue(0, 200);

@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" />

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

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