I need to do an app for a QCM but for each question I want to control the number of options for example: question 1: option0 option1 option2 question 2: option 0 option 1 question 3: option 0 option1 option2 option3 the problem is how to control the number of options and radio buttons depending on the question? java, android studio thanks
Asked
Active
Viewed 25 times
0
-
you can see this answer https://stackoverflow.com/a/19380858/14007693 to add radio button dynamically. – alireza Oct 11 '20 at 11:34
-
Does this answer your question? [How to add radio button dynamically as per the given number of counts?](https://stackoverflow.com/questions/19380526/how-to-add-radio-button-dynamically-as-per-the-given-number-of-counts) – David Buck Oct 11 '20 at 15:55
-
hello .i figured a solution is to hide the unwanted radio buttons,thanks a lot – user14429889 Oct 12 '20 at 12:38