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

Using EasySwipeMenuLayout with OnItemClick of BRVAH? #33

Open
neoscaler opened this issue Mar 4, 2018 · 0 comments
Open

Using EasySwipeMenuLayout with OnItemClick of BRVAH? #33

neoscaler opened this issue Mar 4, 2018 · 0 comments

Comments

@neoscaler
Copy link

neoscaler commented Mar 4, 2018

I am having problems running EasySwipeMenuLayout together with BRVAH. If I setup the swipe menu, no click event reaches the BRVAH adapter. Tried a lot with clickable/focusable settings, but it does not work. It works flawlessly if I remove the EasySwipeMenu.

Is there an example with a Recyclerview using BRVAH with OnItemClick and EasySwipeMenuLayout together?

// edit:
Thanks to the discussion in #19 I got it working using this in the adapter:

helper.getView(R.id.main_content_view_in_swipemenu).setOnClickListener((v -> {
// Do something
        }));

But in my opinion it would be much nicer if the default mechanism of BRVAH (adapter.setOnClickListener) would work easily with this library.

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