Code example for SeekBar

Methods: setEnabled

0
    		} 
    	}.start(); 
		runOnUiThread(new Runnable() { 
			@Override 
			public void run() { 
				seekBar.setEnabled(false); 
				toggleButton.setEnabled(false); 
				toggleButton.setChecked(false); 
			} 
		}); 
		disconnecting = false; 
		if (reconnect) { 
			reconnect(); 
		} 
    } 
 
    private class CommunicationThread extends Thread {
		@Override 
		public void run() { 
			super.run();