Skip to content

Conversation

MateWW
Copy link
Contributor

@MateWW MateWW commented Dec 3, 2020

Summary

Fix for issue #164
There are multiple solutions in issue i've tested this one and it works.
It contains also a few improvements like:

  • remove unnecessary fork of ViewPager2
  • change storing views approach on android

Test Plan

swipetouchables

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator

@troZee troZee self-requested a review December 3, 2020 14:40
FragmentAdapter adapter = new FragmentAdapter((FragmentActivity) reactContext.getCurrentActivity());
vp.setAdapter(adapter);
final FragmentAdapter adapter = new FragmentAdapter((FragmentActivity) reactContext.getCurrentActivity());
vp.setAdapter((FragmentStateAdapter) adapter);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
vp.setAdapter((FragmentStateAdapter) adapter);
vp.setAdapter(adapter);

@troZee troZee merged commit b1e4dce into next Dec 3, 2020
@troZee
Copy link
Collaborator

troZee commented Dec 8, 2020

#225

@troZee troZee deleted the fix/next/touchables branch November 17, 2022 07:37
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

Successfully merging this pull request may close these issues.

2 participants