Improve updates fragment actions

This commit is contained in:
Rahul Kumar Patel
2021-03-20 02:28:29 +05:30
parent 48c5651250
commit 4023a1881e
9 changed files with 151 additions and 55 deletions

View File

@@ -37,6 +37,10 @@ fun View.hide() {
visibility = View.GONE
}
fun View.invisible() {
visibility = View.INVISIBLE
}
fun View.showKeyboard() {
val imm = context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
this.requestFocus()