title: How to set seekbar value which user already selected
body: <p>Hello can anyone help me 
  how to set seek bar value 
  by default, its min value is 0 and max value is 1000</p>
  
  <p>now if user set min value 20 and max value 400 
  and apply the filter
  again user need to change filter value from 20 to 30 and 400 to 450
  but in my case filter range, seek bar value  is again starting from 0 to 1000 </p>
  
  <p>how to set which user-selected value.
  please find attachment [![First default filter][1]][1]
  [![Second Filter which user-selected values ][2]][2]
  Here is my code.</p>
  
  <pre><code>final RangeSeekBar rangeSeekbar = dialog.findViewById(R.id.rangeSeekBar);
         rangeSeekbar.setMinThumbValue(prefs.getInt("minValue", 10));
                  rangeSeekbar.setMaxThumbValue(prefs.getInt("maxValue", 10000));
   rangeSeekbar.setSeekBarChangeListener(new
                                                                RangeSeekBar.SeekBarChangeListener() {
                                                                    @Override
                                                                    public void onStartedSeeking() {
  
                                                                    }
  
                                                                    @Override
                                                                    public void onStoppedSeeking() {
                                                                        editor.putInt("minValue", rangeSeekbar.getMinThumbValue());
                                                                        editor.putInt("maxValue", rangeSeekbar.getMaxThumbValue());
                                                                        editor.apply();
                                                                    }
  
                                                                    @Override
                                                                    public void onValueChanged(int i, int i1) {
                                                                        price_min.setText(String.valueOf(i));
                                                                        price_max.setText(String.valueOf(i1));
                                                                    }
                                                                });
  </code></pre>
  
  <p>xml CODE</p>
  
  <pre><code> &lt;com.innovattic.rangeseekbar.RangeSeekBar
                          android:id="@+id/rangeSeekBar"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          app:rsb_maxThumbDrawable="@drawable/thumb_circle"
                          app:rsb_maxThumbOffsetHorizontal="2dp"
                          app:rsb_minRange="10"
                          app:rsb_max="10000"
                          app:rsb_minThumbDrawable="@drawable/thumb_circle"
                          app:rsb_minThumbOffsetHorizontal="-2dp"
                          app:rsb_trackColor="#888"
                          app:rsb_trackSelectedColor="@color/colorPrimaryDark"
                          app:rsb_trackSelectedThickness="4dp"
                          app:rsb_trackThickness="2dp" /&gt;
  </code></pre>
  
  <p>for checkbox code,
   it's working fine but I need if already selected checkbox set checked true</p>
  
  <pre><code>holder.checkbox.setChecked(datum.isSelected());
              holder.checkbox.setTag(moviesList.get(position));
  
              holder.checkbox.setOnClickListener(new View.OnClickListener() {
                  @Override
                  public void onClick(View view) {
                      String data = "";
                      ResultGetCategory fruits1 = (ResultGetCategory)holder.checkbox.getTag();
  
                      fruits1.setSelected(holder.checkbox.isChecked());
  
                      moviesList.get(position).setSelected(holder.checkbox.isChecked());
  
                      for (int j=0; j&lt;moviesList.size();j++){
  
                          if (moviesList.get(j).isSelected() == true){
                              data = data + "\n" + moviesList.get(j).getName().toString();
                          }
                      }
                      Toast.makeText(getContext(), "Selected Fruits : \n " + data, Toast.LENGTH_SHORT).show();
                  }
              });
  </code></pre>