TextUtilsCompat

Backwards compatible version of TextUtils.

Functions

Link copied to clipboard
open fun getLayoutDirectionFromLocale(@Nullable locale: @Nullable Locale): Int
Returns the layout direction for a given Locale
Link copied to clipboard
@NonNull
open fun htmlEncode(@NonNull s: @NonNull String): @NonNull String
Html-encode the string.