• Post Reply Bookmark Topic Watch Topic
  • New Topic

creating listview dynamically with radio buttons  RSS feed

 
ghouse mohammed
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody i want to create a custom listview with radiobuttons in which data is taken dynamically means it is stored in string.xml where each question can have different options i know how to create custom listview but i dont know about radiobuttons . how can i do it any suggestions will be a great help for me .thanks in advance.
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Define a custom layout for list item which is having radio buttons in it. Pass this layout in your custom adapter. And use it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!