klinker24 / Android-TextView-LinkBuilder

Insanely easy way to define clickable links within a TextView.
MIT License
1.59k stars 199 forks source link

I want to use in combination with Html.fromHtml #30

Closed k2wanko closed 8 years ago

k2wanko commented 8 years ago

That it is the following code will be broken style.

textView.setText(Html.fromHtml(stringHtml));
textView.setMovementMethod(LinkMovementMethod.getInstance());
LinkBuilder.on(textView)
                .addLink(new Link(Patterns.WEB_URL).setTextColor(color).setOnClickListener(webLinkListener))
                .build();

I have a correction. 978d0f6a7ab7964f27151e2635a05445ff985784

klinker24 commented 8 years ago

Looks good to me. Create a pull request and I will merge it.

k2wanko commented 8 years ago

@klinker24 Please review. #31

klinker24 commented 8 years ago

Thanks for the help :)