Skip to content

Cancel long press monitor #53

Open
@tcqq

Description

@tcqq

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/");
                });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions