boton kotlin
snippet in kotlin

boton kotlin

user7389

val boton : Button = findViewById(R.id.boton)
boton.setOnClickListener {
            display.text = diceOne.roll().toString()