Skip to content

I dont know how to get position of the swiped view from MainActivity #4

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

Open
RozinaDarediya opened this issue Oct 30, 2017 · 2 comments

Comments

@RozinaDarediya
Copy link

@janishar
Thank you for an awesome tutorial.
I am new to android and want to add functionality of swiping view. I have used your tutorial as Demo.
But I am confused/unaware how to know which object is swiped from the MainActivity not from the SwipeView fragment. Of course I get
if (view.getId() == R.id.btnReject) { mSwipeView.doSwipe(false); }
But how do I know the object position or tag!?

Hope you will replay soon
Thank you

@RozinaDarediya
Copy link
Author

@janishar
Thank you for the answer. I forgot that I can always have fantastic functionality of Interface.
Thanks

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