Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

hide keyboard android

//With AndroidX:
fun View.hideKeyboard() = ViewCompat.getWindowInsetsController(this)
    ?.hide(WindowInsetsCompat.Type.ime())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #keyboard #android
ADD COMMENT
Topic
Name
1+7 =