appendCompat

An SDK version-dependant compat function for appending text to SpannableStringBuilder and setting the span.