Exam4Training

Which of the following add a click listener to items in a listView?

Which of the following add a click listener to items in a listView?
A . onClickListener.
B . onItemClickListener.
C . onItemClicked.
D . onListItemClickListener.

Answer: B

Explanation:

AdapterView.OnItemClickListener is an interface definition for a callback to be invoked when an item in this AdapterView has been clicked.

References: http://developer.android.com/reference/android/widget/AdapterView.OnItemClickListener.html

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version