Code example for SeekBar

Methods: getProgress

0
    } 
 
    public void onStartTrackingTouch(SeekBar seekBar) {
        mTracking = true;
        if (mListener != null) {
            mListener.onChanged(this, mTracking, mToggle.isChecked(), mSlider.getProgress());
        } 
        mToggle.setChecked(false);
    } 
 
    public void onStopTrackingTouch(SeekBar seekBar) {
        mTracking = false;
        if (mListener != null) {
            mListener.onChanged(this, mTracking, mToggle.isChecked(), mSlider.getProgress());
        } 
    } 
 
    public void setOnChangedListener(Listener l) {
        mListener = l;
    }