Skip to content

Common repository for pointer data #76

@LukasPaczos

Description

@LukasPaczos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions