SyntaxFix
Write A Post
Hire A Developer
Questions
Kotlin code
val imm = requireActivity().getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager imm.hideSoftInputFromWindow(requireActivity().currentFocus?.windowToken, 0)