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

Tooltip doesnt close when clicking on it #17

Open
danvinokour opened this issue Feb 21, 2016 · 3 comments
Open

Tooltip doesnt close when clicking on it #17

danvinokour opened this issue Feb 21, 2016 · 3 comments

Comments

@danvinokour
Copy link

Please add support for closing the tooltip dialog when it is clicked.
Thanks.

@michaelye
Copy link
Owner

@danvinokour
Hi,Thanks for using EasyDialog,I think you should handle it by yourself,I mean setOnClickListener on the View of the tooltip.For example :

View view = this.getLayoutInflater().inflate(R.layout.layout_tip_content_horizontal, null);

view.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { //TODO EasyDialog.dismiss(); } });

@danvinokour
Copy link
Author

Hi,
Thank you for creating this awesome tool :)

I sure can handle it by myself but i think that it would be better if the library gave me this capability for better code encapsulation.

I think it supposed to be handled by your library...

@michaelye
Copy link
Owner

@danvinokour ok,good advice,I will add it next version.

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