simple-linkable-text
simple-linkable-text copied to clipboard
Text is not displayed
Text is not displayed. If text = "abcdef" it will not show. How to fix it, please?
I fixed by: In class LinkModifier change:
public void build() { if (mViewType == ViewType.EDIT_TEXT) { mText = mSpannable.toString(); removePreviousSpans(); } else { mSpannable = SpannableString.valueOf(mText); // mSpannable = null; }
convertPatternsToLinks();
validateTextLinks();
for (Link link : mFoundLinks) {
addLinkToSpan(link);
}
}
Cheese!