What is the purpose of the Android 'GestureDetector' class?
A. To detect common gestures like tap, scroll, fling, and long press
B. To provide haptic feedback
C. To manage touch events
D. To handle motion events
Answer: Option A
Solution (By JKSSB Mock Tests)
GestureDetector simplifies detection of gestures from touch events, allowing easy implementation of gesture interactions.
No comments yet. Be the first to start the discussion!