https://kotlinlang.org logo
#compose
Title
# compose
g

Geert

01/25/2021, 7:47 PM
is https://gist.github.com/gildor/82ec960cc0c5873453f024870495eab3#file-jetpackcomposescaffoldsnackbar-kt-L102 the best way to close the keyboard using a button? I cant find how to create or reference my own SoftwareKeyboardController. Is there no composable function for this
s

Siyamed

01/25/2021, 8:20 PM
TextInputService can close a keyboard however there is some weirdness in the implementation since it checks for an auto increment integer.
why can you not get a reference to the softwareKeyboardController?