LinkMovementMethodCompat

Backwards compatible version of LinkMovementMethod which fixes the issue that links can be triggered for touches outside of line bounds before Android V.

Functions

Link copied to clipboard
@NonNull
open fun getInstance(): @NonNull LinkMovementMethodCompat
Retrieves the singleton instance of LinkMovementMethodCompat.
Link copied to clipboard
open fun onTouchEvent(@Nullable widget: @Nullable TextView, @Nullable buffer: @Nullable Spannable, @Nullable event: @Nullable MotionEvent): Boolean