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

Bind entity #19

Open
TeodorKolev opened this issue Jun 27, 2017 · 0 comments
Open

Bind entity #19

TeodorKolev opened this issue Jun 27, 2017 · 0 comments

Comments

@TeodorKolev
Copy link

Is there any chance to bind entity and catch it in SwipeLayout. For example I have two RecyclerViews and I want to distinguish them in SwipeLayout. How to set my entity and call it from SwipeLayout? Is that possible.

      case MotionEvent.ACTION_UP:
                if (touchState == TOUCH_STATE_SWIPE) {
                    unHackParents();
                    requestDisallowInterceptTouchEvent(false);
                } else {
                    // Here
                    get my Entity from RecyclerView
                }
                touchState = TOUCH_STATE_WAIT;
                break;
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