val body = findViewById(R.id.imageButton) as Image...
# russian
p
val body = findViewById(R.id.imageButton) as ImageButton body.setOnClickListener { v -> val intent = Intent(v.context, den::class.java) startActivityForResult(intent, 0) }
b
В чём вопрос-то?
p
класс не java a kotlin
b
Классы Kotlin отображаются в классы Java