Code example for SwitchPreference

Methods: isChecked

0
		return view;
	} 
	 
	@SuppressLint("NewApi") 
	public boolean getIsChecked(){ 
		return s.isChecked();
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java