protected void updateView(View view){
  try {
    mStatusText=(TextView)view.findViewById(R.id.seekBarPrefValue);
    mStatusText.setText(String.valueOf(mCurrentValue));
    mStatusText.setMinimumWidth(30);
    mSeekBar.setProgress(mCurrentValue - mMinValue);
  }
 catch (  Exception e) {
    Log.e(TAG,"Error updating seek bar preference",e);
  }
}

protected void updateView ( View view ) { try { mStatusText = ( TextView ) view . findViewById ( R . id . seekBarPrefValue ) ; mStatusText . setText ( String . valueOf ( mCurrentValue ) ) ; mStatusText . setMinimumWidth ( 30 ) ; mSeekBar . setProgress ( mCurrentValue - mMinValue ) ; } catch ( Exception e ) { Log . e ( TAG , "Error updating seek bar preference" , e ) ; } }
update a seekbarpreference view with our current state
