val inputMethodManager = this.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
inputMethodManager.showSoftInput(binding.etSearchAddress, 0)
inputMethodManager.hideSoftInputFromWindow(binding.etSearchAddress.windowToken, 0)
출처: https://jsue.tistory.com/30