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

Implementing both drag and onItemClick #148

Open
bkjbkjbnkj687698698 opened this issue Jan 19, 2016 · 1 comment
Open

Implementing both drag and onItemClick #148

bkjbkjbnkj687698698 opened this issue Jan 19, 2016 · 1 comment

Comments

@bkjbkjbnkj687698698
Copy link

I want to add both drag functionality and setOnItemClickListener to listview but i am able to implement only one of them..if i use dslv:drag_start_mode="onMove" only OnItemClick happens and if i don't use
dslv:drag_start_mode="onMove" only drag happens.How to implement both functionality?

@XspeedPL
Copy link

XspeedPL commented Feb 3, 2016

If you have the code from "master", it's enough to add mDslv.onItemClick() line to Controller.onSingleTapUp(), and it works like a charm. It requires you to use the default controller though.

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