Skip to content

Cannot attach gesture observer for more than one gesture (Android). #242

Closed

Description

@nsndeck
No description provided.

Activity

  1. self-assigned this
    on May 29, 2015
  2. added this to the milestone on May 29, 2015
  3. added
    ready for test
    and removed on May 29, 2015
  4. nsndeck commented on May 29, 2015

    @nsndeck
    Author

    fixed with commit #239

  5. added and removed
    ready for test
    on Jun 1, 2015
  6. added
    ready for test
    on Jun 1, 2015
  7. removed
    ready for test
    on Jun 1, 2015
  8. nsndeck commented on Jun 2, 2015

    @nsndeck
    Author

    Breaking change: Commits #239 and #256 introduces some breaking changes related to gestures.

    1. View.observe() method does not return a gesture observer, but stores an observer into a map collection.
      To access this map collection new version introduces a new method called View.getGestureObservers(gestureType) which returns an array of gesture observers attached to the view. Indeed this is a very rare scenario, but it supports more than one observer for a single gesture.
    2. GesturesObserver constructor now takes 3 arguments instead of only a callback. Now arguments are as follows - target (view that will listen for gestures), callback (a function that will be executed when gesture is detected) and a context (the 'this' context for the callback function).
    3. GesturesObserver observe() method now takes only a single parameter - gesture type (other parameters are now passed to the GesturesObserver constructor function).
  9. added
    ready for test
    on Jun 2, 2015
  10. added and removed
    ready for test
    on Jun 10, 2015
  11. lock commented on Aug 31, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  12. locked and limited conversation to collaborators on Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions