You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a test that could be like "should hide soft keyboard when search button is pressed"
It would be desirable to bring it to perfect red, then green, for every screen
Use this extension function
fun Context.hideSoftKeyboard(v: View) {
val imm: InputMethodManager? = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
imm?.hideSoftInputFromWindow(v.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS)
}
The text was updated successfully, but these errors were encountered:
Implement a test that could be like "should hide soft keyboard when search button is pressed"
It would be desirable to bring it to perfect red, then green, for every screen
Use this extension function
The text was updated successfully, but these errors were encountered: