AndroidResideMenu icon indicating copy to clipboard operation
AndroidResideMenu copied to clipboard

Capturing swipe gesture in one of the fragment

Open aftabnaqvi opened this issue 9 years ago • 1 comments

Hi,

I am trying to capture the swipe gesture in one of my fragment, I added that Fragment into ignoredView but still gesture events are not firing.

Is there any recommended way to get this behaviour?

aftabnaqvi avatar Jun 09 '16 20:06 aftabnaqvi

@aftabnaqvi it seems you can create public method in your activity to get resideMenu instance and then in your fragments call ((YourActivity) getActivity()).getResideMenu().addIgnoredView(getRecyclerView()); // or any other view. In my case I have an horizontal recycler view

andro-jedi avatar Jun 21 '16 12:06 andro-jedi