Example usage for android.support.v4.text.util LinkifyCompat addLinks

List of usage examples for android.support.v4.text.util LinkifyCompat addLinks

Introduction

In this page you can find the example usage for android.support.v4.text.util LinkifyCompat addLinks.

Prototype

public static final boolean addLinks(@NonNull TextView paramTextView, int paramInt) 

Source Link

Usage

From source file:com.schedjoules.eventdiscovery.framework.utils.linkify.EmailLinkified.java

public EmailLinkified(final Spannable input) {
    super(new com.schedjoules.eventdiscovery.framework.utils.factory.Factory<Spannable>() {
        @Override//  w  w  w .  j  ava2s  .  com
        public Spannable create() {
            LinkifyCompat.addLinks(input, Linkify.EMAIL_ADDRESSES);
            return input;
        }
    });
}