Unverified Commit 840e9e14 authored by Pancor's avatar Pancor Committed by GitHub

remove unused function

parent d4c36744
......@@ -51,15 +51,4 @@ object KeyboardHelper {
inputMethodManager.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, InputMethodManager.SHOW_IMPLICIT)
}
}
/**
* Show the soft keyboard for the given view at the start of activity or fragment.
*
* @param view View to receive input focus.
*/
fun showSoftKeyboardOnActivityStart(activity: Activity, view: View) {
if (view.requestFocus()) {
activity.window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE)
}
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment