Cancel long press monitor
tcqq opened this issue · comments
tcqq commented
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/");
});