What is an OnClickListener?
A. A device that determines if the user clicked something on the phone
B. An object used in conjunction with a resource (R) to listen for abnormal actions
C. An object that can be added to a widget so that the widget can respond to the user tapping it
D. A line of code used to respond to clicks
Answer:C
What is an OnClickListener?
A. A device that determines if the user clicked something on the phone B. An object used in conjunction with a resource (R) to listen for abnormal actions C. An object that can be added to a widget so that the widget can respond to the user tapping it D. A line of code used to respond to clicks