Devlight / Devlight/InfiniteCycleViewPager

How to stop click events from happening fragments other than the current one in focus?

Open
#30 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.7k
Forks
821
PR merge metrics
No merged PRs in 30d

Description

First of all thanks for this amazing library. However, I noticed that due to parts of the left and right fragment being visible apart from the one currently in focus, some of my click listeners on elements on these side fragments get fired if the user accidentally touches the right thing.

Is there any way to disable interaction with fragments that are not currently in focus so as to avoid this issue?

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.