Android Application Development (AND-401) — Question 37
Which of the following is NOT a correct constructer for ArrayAdapter?
Answer options
- A. ArrayAdapter(Context context)
- B. ArrayAdapter (Context context, int recourse)
- C. ArayAdpater (Context context , int resource, int textViewResourceId)
- D. ArrayAdapter (Context context , int resource, List<T> items)
Correct answer: A
Explanation
Option A is incorrect because it lacks the required parameters to construct an ArrayAdapter properly. The other options, despite potential issues in naming or spelling, include necessary parameters that can be used to create an ArrayAdapter instance.