PrepAway - Latest Free Exam Questions & Answers

Which of these is the correct explanation of type and order of event issued after long-pressing the Button wid

Which of these is the correct explanation of type and order of event issued after long-pressing the
Button widget and letting go? (Assume no event consumption by an event listener)

PrepAway - Latest Free Exam Questions & Answers

A.
The following event will be issued only once.
OnLongClick event

B.
2 events will be issued in the following order:
OnTouch event (MotionEvent.ACTION_SELECT)
OnLongClick event

C.
3 events will be issued in the following order:
OnTouch event (MotionEvent.ACTION_DOWN)
OnLongClick event
OnTouch event (MotionEventACTIONJJP)

D.
4 events will be issued in the following order:
OnTouch event (MotionEventACTIONJDOWN)
OnLongClick event
OnTouch event (MotionEventACTIONJJP)
OnClick event

Explanation:

One Comment on “Which of these is the correct explanation of type and order of event issued after long-pressing the Button wid


Leave a Reply

Your email address will not be published. Required fields are marked *