sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.text
/
TextUtilsCompat
Text
Utils
Compat
class
TextUtilsCompat
(
source
)
Backwards compatible version of
TextUtils
.
Members
Functions
get
Layout
Direction
From
Locale
Link copied to clipboard
open
fun
getLayoutDirectionFromLocale
(
@
Nullable
locale
:
@
Nullable
Locale
)
:
Int
Returns the layout direction for a given Locale
html
Encode
Link copied to clipboard
@
NonNull
open
fun
htmlEncode
(
@
NonNull
s
:
@
NonNull
String
)
:
@
NonNull
String
Html-encode the string.