CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 36: AND-401: Android Application Development

Which of the following is true about object arrayAdapter declared in the code below?String[] items = {"Item 1","Item 2","Item 3"};ArrayAdapter arrayAdapter = new ArrayAdapter (this, android.R.layout.simple_list_item_1, items); listView.setAdapter(arrayAdapter);

Nội dung câu hỏi

Which of the following is true about object arrayAdapter declared in the code below?String[] items = {"Item 1","Item 2","Item 3"};ArrayAdapter arrayAdapter = new ArrayAdapter (this, android.R.layout.simple_list_item_1, items); listView.setAdapter(arrayAdapter);

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. It creates a TextView for each String in array items. — đáp án hiện tại
  2. B. It creates Buttons for each String in array items.
  3. C. It creates four views for listView.
  4. D. It replaces the layout of the activity with three consecutive TextView items.

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề