Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Disable swipe in CirclePageIndicator #421

Open
MichaelReyes opened this issue Apr 17, 2017 · 1 comment
Open

Disable swipe in CirclePageIndicator #421

MichaelReyes opened this issue Apr 17, 2017 · 1 comment

Comments

@MichaelReyes
Copy link

Hello,
I managed to disable swipe in my view pager but my problem is it is still swipe-able when swiping using the CirclePageIndicator. How do i disable this? Thanks

@ayinozendy
Copy link

Have you tried overriding CirclePageIndicator?

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        return false;
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants