PinView icon indicating copy to clipboard operation
PinView copied to clipboard

keyboard

Open hasanjfrpr opened this issue 4 years ago • 4 comments

when useing this library don't open keyboard

hasanjfrpr avatar Aug 16 '21 15:08 hasanjfrpr

same issue facing in Huawei

MujahidHi5 avatar Jan 11 '22 17:01 MujahidHi5

when using this library don't open keyboard

same issue

SushmitSingh avatar Feb 14 '22 11:02 SushmitSingh

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

Gobi1989 avatar Dec 05 '22 13:12 Gobi1989