-
public final class SpannableExtKt
-
-
Method Summary
Modifier and Type Method Description final static CharSequenceconcatNewLine(CharSequence $self)final static CharSequenceappendWhitespace(CharSequence $self)final static SpannableStringformatBold(String $self, String text)final static SpannableStringformatSize(String $self, Integer size, String text)final static SpannableStringsetPlaceholderSpannable(String $self, Object what, String text)final static SpannableStringsetPlaceholderSpannables(String $self, String text, Object what)final static CharSequenceconcatWith(CharSequence $self, CharSequence other)final static StringwrapWhitespaces(CharSequence $self)final static <ERROR CLASS>withAbsoluteSize(Spannable $self, Integer size, Boolean dp)final static <ERROR CLASS>withRelativeSize(Spannable $self, Float proportion)final static <ERROR CLASS>withBold(Spannable $self)final static <ERROR CLASS>withBold(SpannableStringBuilder $self)final static <ERROR CLASS>withStyle(Spannable $self, Integer style)final static <ERROR CLASS>withStyle(SpannableStringBuilder $self, Integer style)final static <ERROR CLASS>withColor(Spannable $self, @ColorInt() Integer color)final static <ERROR CLASS>withBackgroundColor(Spannable $self, @ColorInt() Integer color)final static <ERROR CLASS>withStrikethrough(Spannable $self)-
-
Method Detail
-
concatNewLine
final static CharSequence concatNewLine(CharSequence $self)
-
appendWhitespace
final static CharSequence appendWhitespace(CharSequence $self)
-
formatBold
final static SpannableString formatBold(String $self, String text)
-
formatSize
final static SpannableString formatSize(String $self, Integer size, String text)
-
setPlaceholderSpannable
final static SpannableString setPlaceholderSpannable(String $self, Object what, String text)
-
setPlaceholderSpannables
final static SpannableString setPlaceholderSpannables(String $self, String text, Object what)
-
concatWith
final static CharSequence concatWith(CharSequence $self, CharSequence other)
-
wrapWhitespaces
final static String wrapWhitespaces(CharSequence $self)
-
withAbsoluteSize
final static <ERROR CLASS> withAbsoluteSize(Spannable $self, Integer size, Boolean dp)
-
withRelativeSize
final static <ERROR CLASS> withRelativeSize(Spannable $self, Float proportion)
-
withBold
final static <ERROR CLASS> withBold(SpannableStringBuilder $self)
-
withStyle
final static <ERROR CLASS> withStyle(SpannableStringBuilder $self, Integer style)
-
withBackgroundColor
final static <ERROR CLASS> withBackgroundColor(Spannable $self, @ColorInt() Integer color)
-
withStrikethrough
final static <ERROR CLASS> withStrikethrough(Spannable $self)
-
-
-
-