Populate radiobutton group with data from squlite database
I am writing a game app for Android, where a question word with four different alternatives will show that the user can choose bet开发者_StackOverflow社区ween.
I have a database and i can insert from the app, but what would be the easiest way to use a select statement, and then parse the response and populate the five different positions in the radio group?
I have done the Notepad tutorial on the dev. site, and it seems a bit too complicated for what i need. At least I cannot decipher it well enough to apply on my project.
Thanks for any help! /AK
Use a listview and define a custom adapter that will populate the "row" with the five different answers.
精彩评论