RadioButtons and Checkboxes

salmander

Active Member
Licensed User
Longtime User
Hello All,

I have a list, which contains items. I want that list to be divided into radio buttons and checkboxes based on some conditions. The main category will be of radio buttons. So a user can select only one main item. But after selecting a main item, a user can select multiple sub-items through checkboxes.

Sample mockup:

[category='radio button']
[radio item 1]
[category='check box']
[checkbox item 1]
[checkbox item 2]
[checkbox item 3]
[/category='radio button']
[radio item 2]
[radio item 3]
[category='check box']
[checkbox item 1]
[checkbox item 2]
[checkbox item 3]
[checkbox item 4]
[checkbox item 5]
[/category='radio button']
[radio item 4]
[category='check box']
[checkbox item 1]
[checkbox item 2]
[/category='check box']
[/category='radio button']

How can I do this in basic4android? Can anyone guide me please?
 
Top