Code example for RadioGroup

Methods: setOnCheckedChangeListener

0
 
	private RadioGroup view;
	 
	public RadioCheckBoxGroup(ComponentContainer container) {
		super(container);
		view = new RadioGroup(container.$context());
		view.setOnCheckedChangeListener(this);		
	} 
	 
	public RadioCheckBoxGroup(ComponentContainer container, int resourceId) {
		super(container, resourceId);		
		view = null;
		RadioGroup g = (RadioGroup) container.$context().findViewById(resourceId);
		g.setOnCheckedChangeListener(this);
	}	 
	 
	 
	/** 
	 *  
	 * This method is called when a radio checkbox is changed in the group. 
Connect your IDE to all the code out there  Get Codota for Java