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

Cancel long press monitor #53

Open
tcqq opened this issue May 21, 2018 · 0 comments
Open

Cancel long press monitor #53

tcqq opened this issue May 21, 2018 · 0 comments

Comments

@tcqq
Copy link

tcqq commented May 21, 2018

Hello, thank your library, I have a problem, now I am only added setOnClickListener, not added setOnLongClickListener, but when I click text long time, the phone will vibrate, this shows LongClickListener are effective, So I want to cancel LongClickListener or modify the default value, How should I do it? Thank you.

        Link terms = new Link("translate")
                .setTextColor(accentColor)
                .setOnClickListener(s -> {
                    AndroidUtil.openLink(getParent(), "https://translate.google.cn/");
                });
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

1 participant