Skip to content

v2.0

Compare
Choose a tag to compare
@saket saket released this 27 Sep 13:34
· 23 commits to master since this release

Library

  • Support for listening to long-clicks on URLs
  • Fixed a bug where URLs were staying highlighted even after lifting finger in some cases.
BetterLinkMovementMethod method = BetterLinkMovementMethod.linkify(Linkify.ALL, textView);
method.setOnLinkLongClickListener((textView, url) -> {
  // Do something with the URL and return true to indicate that this URL was handled.
  // Otherwise, return false to let Android handle the URL.
  return true;
});

Sample

  • Replaced dark theme with light
  • Replaced custom floating menu with PopupMenu, which have a nice entry animation on Marshmallow and above.