You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since there's only one entry point to pass MotionEvents, there's no difference between the data each gesture detector is working with.
We should centralize this incoming stream of events in one "repository" (AndroidGestureManager class?) that will server pointers map, distances, spans, and velocities for the gesture detectors. This should significantly decrease the memory and computation footprint of those computations which are effectively repeated by each gesture detector, because of the inheritance.
The text was updated successfully, but these errors were encountered:
Since there's only one entry point to pass
MotionEvent
s, there's no difference between the data each gesture detector is working with.We should centralize this incoming stream of events in one "repository" (
AndroidGestureManager
class?) that will server pointers map, distances, spans, and velocities for the gesture detectors. This should significantly decrease the memory and computation footprint of those computations which are effectively repeated by each gesture detector, because of the inheritance.The text was updated successfully, but these errors were encountered: