LinkMovementMethodCompat
class LinkMovementMethodCompat : LinkMovementMethod
| kotlin.Any | ||||
| ↳ | android.text.method.BaseMovementMethod | |||
| ↳ | android.text.method.ScrollingMovementMethod | |||
| ↳ | android.text.method.LinkMovementMethod | |||
| ↳ | androidx.core.text.method.LinkMovementMethodCompat |
Backwards compatible version of LinkMovementMethod which fixes the issue that links can be triggered for touches outside of line bounds before Android V.
Summary
Public functions |
|
|---|---|
java-static LinkMovementMethodCompat |
Retrieves the singleton instance of |
Boolean |
onTouchEvent(widget: TextView?, buffer: Spannable?, event: MotionEvent?) |
Inherited functions |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||
Public functions
getInstance
Added in 1.11.0
java-static fun getInstance(): LinkMovementMethodCompat
Retrieves the singleton instance of LinkMovementMethodCompat.
| Returns | |
|---|---|
LinkMovementMethodCompat |
the singleton instance of |