But ive recently started developing applications for android and damn its confusing (I dont have a java background more C++ and C#)
But currently my app is set up where it will reference simple public voids for my question data.
public void Question1(){
question.setText("How good are you at programming?");
answer1.setText("A. Amazing.");
answer2.setText("B. Good.");
answer3.setText("C. Okay.");
answer4.setText("D. Horrible.");
answernumber = 1;
}
the only thing here that might confuse someone is the answernumber variable witch is suppose to be the answer. (*probably shouldn't be A for me)
but I have about 10 Questions loaded into this app and my only issue is there is a next question button
and what I would like it to do is add 1 to the questioncount variable then call apoun that public void variable
like so although this doesn't work saddly
public void onclick(View arg0) {
questioncount ++;
Question + questioncount();
}
how can i do this in a fashion that will work thank you

New Topic/Question
Reply



MultiQuote








|