Code example for RadioButton

Methods: isChecked

0
    public void setIsMainUserId(boolean value) {
        mIsMainUserId.setChecked(value);
    } 
 
    public boolean isMainUserId() { 
        return mIsMainUserId.isChecked();
    } 
 
    public void setEditorListener(EditorListener listener) {
        mEditorListener = listener;
    } 
}