radio-group is used to create a multiple-exclusion scope for a set of radio buttons. Checking one radio button that belongs to a radio group unchecks any previously checked radio button within the same group.
Questions tagged [radio-group]
1047 questions
6
votes
2 answers
reset my checked radiogroup when the radiogroup is used again in the same activity
I am making a quiz application...I am accessing the questions through "id"...every time a question is answered(any radio button is checked),the id is incremented and doInBackground() function is called to load the next question....But when the next…

sagar
- 151
- 2
- 5
- 14
5
votes
1 answer
Radio Group in ExtJS Editor Grid/Grid
I need radio group in extjs grid. I can have the radiogroup as editor but users wants to directly select the option from radio.
e.g.
O yes O no O maybe
instead of having yes as by default and once they select the cell, it gets converted to radio…

Mutant
- 3,663
- 4
- 33
- 53
5
votes
1 answer
How to get value from Radio group in Jetpack Compose
I'm beginner in Jetpack Compose, so I don't know how can I get value from Radio group that I created.
This is my Radio group composable function:
@Composable
fun KindRadioGroup(
mItems: List
) {
val mRememberObserver = remember {…

Hooman Hooshyar
- 97
- 1
- 9
5
votes
2 answers
Possible to allow all radio buttons to be unchecked in an Android app?
Just wanted to see if anyone knows if there's a radiogroup or radiobutton attribute or something else quick that will allow radio buttons to be unchecked when they're in checked mode. I'm looking to build functionality that works like a radio group…

wajiw
- 12,239
- 17
- 54
- 73
5
votes
2 answers
How can I control a RadioGroup from material-ui?
I have a React (typescript) app where I want to show a radio group but cut into two columns like so:
To do so, I use two RadioGroup from @material-ui/core that I wish to completely control so the user cannot select an option in each group. My…

Jeahel
- 1,012
- 2
- 13
- 30
5
votes
3 answers
Radio Button findViewById within a Fragment
I have looked around and implemented some of the things that I have found in order to get the findViewById to work inside my Fragment. However, I get either the cannot resolve method findViewById or I get "Unreachable Statement." I am not entirely…

James Robert Singleton
- 461
- 2
- 8
- 22
5
votes
2 answers
vba get true radio button val from group
In Excel VBA:
I'm creating a form. This form has several radio button groups, some of which have many options (but only one radiobutton can be true per group). I would like to be able to get the name of the radiobutton that's "true" per group,…

Amit Kohli
- 2,860
- 2
- 24
- 44
5
votes
1 answer
setOnCheckedChangeListener of RadioGroup is called twice after calling clearCheck() on RadioGroup
I have a RadioGroup with radio buttons. To clear a checked item, I am calling radiogroup.clearCheck(). But, RadioGroup.setOnCheckedChangeListener callback is getting triggered twice after calling clearCheck().
public class MainActivity extends…

ravi
- 2,722
- 7
- 25
- 42
5
votes
2 answers
Inflating RadioGroup in Android-multiple radioButtons check at a time
I made a RadioGroup with a variable number of radioButtons. The problem is that many radiobuttons can be checked, it is not a single RadioButton checked in a RadioGroup (as I know) Where is my mistake?
Here is my code :
View view =…

Gabrielle
- 4,933
- 13
- 62
- 122
5
votes
2 answers
Android disable radio group in xml
In my android application, I need to disable radio group in xml layout. I searched, but I found only through pro-grammatically not in xml layout.
My code is here

Linga
- 10,379
- 10
- 52
- 104
5
votes
3 answers
android - How to add the view beside the radio button
I want to set the view beside the radio button in the radio group. I tried but i am not getting. please can anybody help me.
Source Code

naresh
- 10,332
- 25
- 81
- 124
5
votes
5 answers
Only one radio button selected at a time
I have two radio button in a radio group. I also have 2 androd:button checkbox- for when the radio button is deselected and checkbox_v for when he user selects the checkbox. I also implemnted that a method onRadioButtonClick in order to make sure…

user182192
- 729
- 3
- 14
- 26
4
votes
1 answer
What am I misunderstanding in my boolean radio group in Formik?
Following the Radio Group Example in the Formik docs and using Bootstrap 5 I've tried to create a boolean radio component that gets passed in a name and label. However, on render with the initialValues:

DᴀʀᴛʜVᴀᴅᴇʀ
- 7,681
- 17
- 73
- 127
4
votes
3 answers
How to inflate layout with RadioButton and then add to RadioGroup?
I'm trying to inflate my layout for a Listview with a row that has two TextViews and a RadioButton. I want all the RadioButtons added this way to be in the same RadioGroup. Here's what I've done so far:
@Override
public View getView(int…

telkins
- 10,440
- 8
- 52
- 79