Open mainaviTech opened 6 years ago
Try this.
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
for (i in 0 until 10) {
val idStr = String.format(Locale.getDefault(), "pin_codebutton%d", i)
val id = resources.getIdentifier(idStr, "id", packageName)
val button = mKeyboardView.findViewById
Hi, Thanks for this superb lib. Its working fine with my application. I would like to set random key values to the KeyboardButtonView objects so that formation of the keyboard keeps changing every time the user gets back to the app. Unfortunately, its not allowing me to set any value to it like other views. Could you please guide me on that? Or any suggestion?