You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add functions for using index positions in an array
e.g.
public TextDecorator setTextColor(@ColorRes final int resColorId, final int[] start, final int[] end) {
for (int i = 0; i < start.length; i++) {
checkIndexOutOfBoundsException(start[i], end[i]);
decoratedContent.setSpan(new ForegroundColorSpan(ContextCompat.getColor(textView.getContext(), resColorId)), start[i], end[i],
flags);
}
return this;
}
The text was updated successfully, but these errors were encountered:
Add functions for using index positions in an array
e.g.
The text was updated successfully, but these errors were encountered: