Skip to content

Instantly share code, notes, and snippets.

View dev990's full-sized avatar

Archgeek dev990

  • Bengaluru
View GitHub Profile
nesquena /
Last active October 21, 2022 10:20
PatternEditableBuilder - Easy way to create colored clickable spans within a TextView!
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.TextPaint;
import android.text.method.LinkMovementMethod;
import android.view.View;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.regex.Matcher;