خرید بک لینک

Vote count: 0

I am currently using 2 rangeseekbars in my project like this one :

https://github.com/yahoo/android-range-seek-bar

The xml code relating to the seekbars is:

<com.yahoo.mobile.client.android.util.rangeseekbar.RangeSeekBar
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                rsb:absoluteMinValue="200"
                rsb:absoluteMaxValue="20000"
                android:layout_centerVertical="true"
                android:layout_alignParentStart="true"
                android:id="@+id/seekbarRent" />

 <com.yahoo.mobile.client.android.util.rangeseekbar.RangeSeekBar
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content"
                 rsb:absoluteMinValue="10"
                 rsb:absoluteMaxValue="500"
                android:layout_centerVertical="true"
                android:layout_alignParentStart="true"
            android:id="@+id/seekbarLivingSpace" />

I am currently trying to save the values of the seekbars, (normalizedMinValues and normalizedMaxValues in the rangeseekbar java class) but I do not know how to differenciate the two. Basically when I try to save the normalizedMinValue, it only works for the second seekbar and so it adjusts the 1st one to the same position as the second one...

I am begiing to think that I need a new java class for the second seekbar, just the same but with a different name, that way I don't have two normalizedMinValues which are only supposed to be one...

Am I right? or is there another way?

thank you in advance

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 13 مرداد 1395 ساعت: 9:51

صفحه بندی