Android Application Development (AND-401) — Question 55

Which is the correct explanation of ListView?

Answer options

Correct answer: D

Explanation

Option D is correct because ListView can display various types of Views, not just TextViews, allowing for greater flexibility in UI design. Option A is incorrect as ListView can function independently without being paired with ListActivity. Option B is false since a ListView can be empty and still function. Option C is misleading because while using an ArrayList is common, it is not a strict requirement as other data structures can also be used.