I know well that there are ways of customizing elements like GridView
and ListView
through the use of Adapters
(like BaseAdapter
).
I am also aware of the Holder paradigm to keep the state of complex data structures.
I am wondering if the RadioGroup
works the same. If not how could I implement something like this:
|-------| | TEXT | |-------| | IMAGE | |-------| | RADIO | | BUT. | |-------|
That can be added modularly (programmatically) to a RadioGroup
to obtain more complex structures like this one:
|-------|-------|-------| | TEXT | TEXT | TEXT | |-------|-------|-------| | IMAGE | IMAGE | IMAGE | |-------|-------|-------| | RADIO | RADIO | RADIO | | BUT. | BUT. | BUT. | |-------|-------|-------|
Other solutions that I have found involve Horizontal ListView or customized GridView.
Is there any other Android design pattern that may be followed to achieve a more elegant result?
Thanks.