Which rule applies to a click handler called from the attribute in the layout?
(Choose
1
A. The click handler method must include the event listener View.OnClickListener, which is an interface in the View class
answer)
B. The click handler method must be public, return void, and define a View as its only parameter.
C. The click handler must customize the View.OnClickListener class and override its click handler to perform some action.
D. The click handler method must be private and return a View.
Ext 10