fun Tryouts() {
var CheckBox1 : CheckBox = findViewById(R.id.ForwardBox) as CheckBox
CheckBox1.setChecked(false)
}
I'm still a beginner in Kotlin having learnt only the basic working of kotlin, I am unable refer to any android widget or change it's state in Android Studio whether it's TextView or CheckBox or RadioBox.
Same Unresolved Reference errors for findViewById in all cases...
I don't know what is it that I am doing wrong, even java conversion outputs the same errors.