nerdexam
Android

AND-401 · Question #129

Which of the following is NOT true about class ListActivity?

The correct answer is B. Its layout must be set by calling method setContentView inside onCreate. See the full explanation below for the reasoning.

Question

Which of the following is NOT true about class ListActivity?

Options

  • AAn activity that displays a list of items by binding to a data set.
  • BIts layout must be set by calling method setContentView inside onCreate.
  • CIt contains a ListView object that can be bound to different data sets. Binding, screen layout, and
  • DA data source that can be bound in a ListActivity can be an array or Cursor holding query results.

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    85% (35)
  • C
    7% (3)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice