RadioGroup():getDefaultButtonId()
Get the id of the button selected by default.
Signature
getDefaultButtonId(): number
Returns
number - The default button's id, or -1 when the group has no default.
Description
Set it with RadioGroup(id, defaultButtonId). The id is the id of one of the group's
RadioButton children, not the group's own id.