PinView
PinView copied to clipboard
keyboard
when useing this library don't open keyboard
same issue facing in Huawei
when using this library don't open keyboard
same issue
If you are using kotlin, follow the below
fun EditText.openKeyboard() { if (this.requestFocus()) { val inputMethodManager = context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager inputMethodManager.showSoftInput(this, InputMethodManager.SHOW_IMPLICIT) } }
and in onCreate
PinView?.openKeyboard()
PinView is nothing but reference of your com.chaos.view.PinView