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

onTouchListner.openSwipeOptions() not working #41

Open
abdalmoniem opened this issue Oct 23, 2020 · 1 comment
Open

onTouchListner.openSwipeOptions() not working #41

abdalmoniem opened this issue Oct 23, 2020 · 1 comment

Comments

@abdalmoniem
Copy link

when I call the onTouchListner.openSwipeOptions() method, it doesn't openSwipeOptions for the correct row if the recycler view has been scrolled past the first few visible items.

here is my code:

onTouchListener.setClickable(new RecyclerTouchListener.OnRowClickListener() {
      @Override
      public void onRowClicked(int position) {
        onTouchListener.openSwipeOptions(position);
      }

      @Override
      public void onIndependentViewClicked(int independentViewID, int position) {

      }
});
@esirong
Copy link

esirong commented Mar 29, 2022 via email

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

2 participants