toggle menu
Litho
androidJvm
switch theme
search in API
litho-widget
/
com.facebook.litho.widget
/
TextInputController
Text
Input
Controller
class
TextInputController
Members
Functions
clear
Focus
Link copied to clipboard
fun
clearFocus
(
)
dispatch
Key
Link copied to clipboard
fun
dispatchKey
(
keyEvent
:
KeyEvent
?
)
get
Line
Count
Link copied to clipboard
fun
getLineCount
(
)
:
Int
?
get
Span
Start
Link copied to clipboard
fun
getSpanStart
(
what
:
Any
?
)
:
Int
get
Text
Link copied to clipboard
fun
getText
(
)
:
CharSequence
?
hide
Cursor
Link copied to clipboard
fun
hideCursor
(
)
remove
Span
Link copied to clipboard
fun
removeSpan
(
what
:
Any
?
)
replace
Text
Link copied to clipboard
fun
replaceText
(
text
:
CharSequence
?
,
startIndex
:
Int
,
endIndex
:
Int
,
skipSelection
:
Boolean
)
request
Focus
Link copied to clipboard
fun
requestFocus
(
)
set
Selection
Link copied to clipboard
fun
setSelection
(
start
:
Int
,
end
:
Int
)
set
Span
Link copied to clipboard
fun
setSpan
(
what
:
Any
?
,
start
:
Int
,
end
:
Int
,
flags
:
Int
)
set
Text
Link copied to clipboard
fun
setText
(
text
:
CharSequence
?
)
show
Cursor
Link copied to clipboard
fun
showCursor
(
)