Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with SwipeRefreshLayout #4

Open
Arise opened this issue Oct 9, 2024 · 0 comments
Open

Problems with SwipeRefreshLayout #4

Arise opened this issue Oct 9, 2024 · 0 comments

Comments

@Arise
Copy link

Arise commented Oct 9, 2024

When the FullScreenCardViewPager is nested inside a SwipeRefreshLayout then horizontal swipes that are not perfect (has small up/down movements) also triggers the SwipeRefreshLayout trigger canceling the FullScreenCardViewPager transition.

Maybe the contained:

    private lateinit var viewPager2: ViewPager2
    private lateinit var recyclerView: RecyclerView

should be made public or add something like a listener for swipe events to be able to disable the parent SwipeRefreshLayout.

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

No branches or pull requests

1 participant