Yuri Drigin
02/16/2021, 12:32 PMPiotr Prus
02/16/2021, 12:52 PMSoftwareKeyboardController
and you can access its instance from
TextField(onImeActionPerformed = { imeAction, keyboardController -> })
pawegio
02/16/2021, 12:53 PMTextField
, one way is to invoke hideSoftwareKeyboard()
on SoftwareKeyboardController
, but it requires keeping a reference to this controller when onTextInputStarted: (SoftwareKeyboardController) -> Unit
is invoked.pawegio
02/16/2021, 12:53 PMonImeActionPerformed
is deprecated in alpha12 😕Piotr Prus
02/16/2021, 12:54 PMpawegio
02/16/2021, 12:56 PMKeyboardActions
, with new callbacks (all missing SoftwareKeyboardController
reference) https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/KeyboardActionsYuri Drigin
02/16/2021, 1:56 PM