JD
09/09/2020, 3:43 AMonImeActionPerformed = { action, softKeyboardController ->
if (action == ImeAction.Done) {
onImeAction()
softKeyboardController?.hideSoftwareKeyboard()
}
},
Handling on the submit callback:
val submit = {
onItemComplete(TodoItem(text))
setIcon(TodoIcon.Default)
setText("")
}
Video:Sean McQuillan [G]
09/09/2020, 5:24 AMState<String>
instead of String
.