question: private void refreshSelected ( int offsetX ) { int offset = ( int ) ( offsetX + mMaxOverScrollDistance ) ; int tempIndex = Math . round ( offset / mIntervalDis ) ; tempIndex = clampSelectedIndex ( tempIndex ) ; if ( mSelectedIndex == tempIndex ) { return ; } mSelectedIndex = tempIndex ; if ( null != onValueChangeListener ) { onValueChangeListener . onChange ( this , mSelectedIndex , Float . parseFloat ( format ( mSelectedIndex * mIntervalValue + mMinValue ) ) ) ; } }
target:  refresh current selected index