Which statement properly uses the inflate method??

A. inflater.inflate(R.layout.photos, container);
B. inflater.inflate(container, R.layout.photos, false);
C. inflater.inflate(R.layout.photos, container, false);
D. inflater.inflate(container, R.layout.photos);


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following statements about Try blocks is true?

a) The Try block must be followed by at least one Catch block. b) The Try block must be followed by a Finally block. c) The Try block should contain statements that may process an exception. d) The Try block should contain statements that may throw an exception.

Computer Science & Information Technology

To copy an image, _____ the picture, then use the Copy and Paste options from the shortcut menu.

A. right-click B. left-click C. double-click D. drag and click

Computer Science & Information Technology

The ________ dialog box is common to most Office applications

A) Discover and Modify B) Find and Replace C) Locate and Change D) Seek and Substitute

Computer Science & Information Technology

What is the update anomaly?

What will be an ideal response?

Computer Science & Information Technology