1

Android: Using RadioGroup in a Gridview

view story
linux-howto

http://stackoverflow.com – I would like to lay out a couple dozen radio buttons in a GridView. Right now, I have accomplished this by creating a custom Adapter and overriding the getView function(and then calling setAdapter on the GridView). The only issue is, I am having trouble inclosing these radio buttons in a RadioGroup so I can enforce single selection of button. I have looked at various stackoverflow posts(such as this one: Radio Group implementation on Grid View in Android), but I have yet to find a straightforward way of getting this done. I have tried throwing in the RadioGroup tag around the GridView tag in (HowTos)