Skip to content

Instantly share code, notes, and snippets.

@salihyalcin
Created March 16, 2015 19:58
Show Gist options
  • Save salihyalcin/bad285cbaa675083117d to your computer and use it in GitHub Desktop.
Save salihyalcin/bad285cbaa675083117d to your computer and use it in GitHub Desktop.
SeekBar
@Override
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
float value = ((float)progress/100);
comm.respond(value);
}
@Override
public void onStartTrackingTouch(SeekBar seekBar) {
}
@Override
public void onStopTrackingTouch(SeekBar seekBar) {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment