belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
LinkifyCompat
public
final
class
LinkifyCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.text.util.LinkifyCompat |
LinkifyCompat brings in Linkify
improvements for URLs and email addresses to older API
levels.
Summary
Public methods | |
---|---|
static
void
|
addLinks(TextView text, Pattern pattern, String scheme, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter)
Applies a regex to the text of a TextView turning the matches into links. |
static
void
|
addLinks(TextView text, Pattern pattern, String defaultScheme, String[] schemes, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter)
Applies a regex to the text of a TextView turning the matches into links. |
static
boolean
|
addLinks(Spannable spannable, Pattern pattern, String defaultScheme, String[] schemes, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter)
Applies a regex to a Spannable turning the matches into links. |
static
boolean
|
addLinks(Spannable text, Pattern pattern, String scheme)
Applies a regex to a Spannable turning the matches into links. |
static
boolean
|
addLinks(Spannable text, int mask)
Scans the text of the provided Spannable and turns all occurrences of the link types indicated in the mask into clickable links. |
static
void
|
addLinks(TextView text, Pattern pattern, String scheme)
Applies a regex to the text of a TextView turning the matches into links. |
static
boolean
|
addLinks(Spannable spannable, Pattern pattern, String scheme, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter)
Applies a regex to a Spannable turning the matches into links. |
static
boolean
|
addLinks(TextView text, int mask)
Scans the text of the provided TextView and turns all occurrences of the link types indicated in the mask into clickable links. |
Inherited methods | |
---|---|
![]()
java.lang.Object
|