Horje
How to hide keybord on Android Studio Code Example
How to hide keybord on Android Studio
  fun hideKeybord() {
            val view = this.currentFocus
            if (view != null) {
                val hideKey = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
                hideKey.hideSoftInputFromWindow(view.windowToken, 0)
            } else {
                window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN)
            }
        }

// Call your function whatever you want

	hideKeybord() 




Kotlin

Related
android bottomnavigationview leaves blank space after full screen Code Example android bottomnavigationview leaves blank space after full screen Code Example
kotlin inheritance super Code Example kotlin inheritance super Code Example
kotlin codeforces template Code Example kotlin codeforces template Code Example
kotlin filter map by value Code Example kotlin filter map by value Code Example
kotlin collection to linked list Code Example kotlin collection to linked list Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7