Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions

Question

4. Evaluation is ongoing and used to improve the system.

Answered: 1 week ago

Question

6. Effectively perform the managers role in career management.

Answered: 1 week ago