Code example for SeekBar

Methods: getProgress

	protected void onDialogClosed(final boolean positiveResult) {
		// when the user selects "OK", persist the new value 
		if (positiveResult) {
			final int seekBarProgress = mSeekBar.getProgress() + mMinProgress;
			if (callChangeListener(seekBarProgress)) {
	protected Object onGetDefaultValue(final TypedArray a, final int index) {
		return a.getInt(index, DEFAULT_PROGRESS);
	protected void onRestoreInstanceState(final Parcelable state) {
		// check whether we saved the state in onSaveInstanceState() 
Connect your IDE to all the code out there  Get Codota for Java