Question: please tell how may I add question for different question like question0 question1 and so and also answerbutton 3-G. Implement displayQuestion0 You should have access


please tell how may I add question for different question like question0 question1 and so and also answerbutton
3-G. Implement displayQuestion0 You should have access to every View necessary to implement this method: your main ImageView, your question TextView, and your four answer Button Views (all declared as member variables in 3-A. You must modify these View objects using either the setText() or setImageresource() methods. Hint The Question object contains every variable you need to implement this method, namely; imageId, questionText, answer...answer3. To access them, use dot-syntax, e.g. question. answere, and pass those values as parameters... answereButton. setText(question.answero); . void displayquestion() \{ questionImageView. setImageResource(R.drawable.img_quote_ ); Question question = "Pretty good advice, and perhaps a scientist did say it.. Who actually did?". questionTextView. setText (questions.add(question ))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
