Tuesday, April 24, 2012

Detecting button clicks within a for loop in an Android app

I'm having a little bit of trouble. There are 12 buttons, and 10 questions in my android app. If I ran a for loop for all of the questions is there a way that I can check if a button is pushed and if it's the answer to the current question? Then it would move on to the next question, and do the same until the loop ended. I don't know exactly how to word it, but I hope you can figure out what I mean.





No comments:

Post a Comment