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

how can dismiss hover view when touch out side of hoverview #2

Open
miaaad opened this issue Sep 26, 2018 · 1 comment
Open

how can dismiss hover view when touch out side of hoverview #2

miaaad opened this issue Sep 26, 2018 · 1 comment

Comments

@miaaad
Copy link

miaaad commented Sep 26, 2018

No description provided.

@tomergoldst
Copy link
Owner

tomergoldst commented Nov 3, 2018

You can find and dismiss an HoverView using the findAndDismiss() method. The part of identifing when a user click outside of the hoverview is your responsibilty.
If you are using an Activity you can achive that by overriding the onUserInteraction() method.
See https://developer.android.com/reference/android/app/Activity.html#onUserInteraction() for more details on this callback

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