-
Notifications
You must be signed in to change notification settings - Fork 25
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
setDismissOnLongPressStop don't work on my adapter #8
Comments
Hi! Thanks for using this library! Try to remove this four lines If I understood correctly, the behaviour you're trying to achieve is the default of this library, you don't need to set anything particular in the builder If you set Let me know if this solves your problem Riccardo |
@RiccardoMoro thanks to reply, i'm not sure whats problem, i change code to
problem is, after showing popup, i have to click outside dialog to dismiss that |
I guess that if you just set .setDismissOnLongPressStop(true) the result is the same right? |
@RiccardoMoro no, this link is my complete adapter source code |
Mmm I can see that you did this -> .setDismissOnLongPressStop(false) |
@RiccardoMoro i added |
You've also tried to set it to true but without the other setters? (Like it's now, but with true instead of false) |
I've tried to replicate what happened to you, but if I paste the exact configuration ( the one without the setters and the one just with .setDismissOnLongPressStop(true) ) and it works as it should |
That's small image view as avatar. See this screen shot |
@RiccardoMoro setting |
@MahdiPishguy What is the parent of the RecyclerView? is there some custom touch-handling logic inside it? |
@RiccardoMoro no sir, my xml layout is:
|
This is very strange... |
@RiccardoMoro i'm trying to separate this part of application and send it for you, yeah that's very strange |
@RiccardoMoro problem is when i set itemView in ViewHolder, dismising dialog work fine when i set itemView on
that means i can't set other view in that, for example
dismising dialog don't work |
Thanks to release this useful library, unfortunately in my adapter
setDismissOnLongPressStop
don't work, could you check this code please?The text was updated successfully, but these errors were encountered: