I'm using multiple RadioGroup and on page load based on service response I'm setting checked one radio button from each RadioGroup, but its not showing as checked. plz help
Asked
Active
Viewed 51 times
0

Andrew Thompson
- 168,117
- 40
- 217
- 433

Amritesh Kumar
- 207
- 1
- 5
- 16
-
Are you using xml for setting checked property? `android:checked="true"` or do you want to do it programmatically? – isthemartin Sep 23 '20 at 20:50
-
nobody can help you like that, you to describe the issue better and add code – DoubleD Sep 23 '20 at 21:13
-
@isthemartin I want to do it programmatically – Amritesh Kumar Sep 24 '20 at 08:23
-
Did you try this? `radiobutton.setChecked(true);` inside of `onCreate` method – isthemartin Sep 24 '20 at 15:54