Code example for RadioGroup

Methods: getCheckedRadioButtonId

0
	 * @return The radio button id. 
	 */ 
	public int getChecked() 
	{ 
		RadioGroup radioGroup = (RadioGroup) getView( );
		return radioGroup.getCheckedRadioButtonId();
	} 
 
	@Override 
	public int addChildAt(Widget child,int index)
	{ 
		if ( !(child instanceof RadioButtonWidget) )
		{ 
			Log.e("@@MoSync","maWidgetAddChild error: RadioGroupWidget can only add RadioButtons.");
			return IX_WIDGET.MAW_RES_INVALID_LAYOUT; 
		} 
 
		addButton((RadioButtonWidget) child);
 
		return IX_WIDGET.MAW_RES_OK; 
Connect your IDE to all the code out there  Get Codota for Java