Skip to content

Clicking while scrolling doesn't invoke the clickListener #26

Open
@Ibrahemalbitar

Description

@Ibrahemalbitar

If I click the pager while the scroll is taking place, the pager sometimes fast-scrolls to the next item, and sometimes to the previous one. I have an onClick() event listener on each pager item that should open another activity. I need this listener to keep working even if the pager was clicked during the transition.

Is there a way to implement this?

Note: your demo Android application (Trinea Android demo) shows the undesired behaviour in the “AutoScrollViewPager demo”, but the problem doesn’t occur when we further navigate into the “AutoScrollViewPager demo >ViewPager in ViewPager Demo” page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions