Join Slack
Powered by
<https://stackoverflow.com/questions/79055324/java...
# stackoverflow
r
rss
10/04/2024, 5:41 PM
" java.lang.ClassCastException: android.widget.Button[] cannot be cast to android.widget.Button" i find this issue in runtime in android kotlin
java.lang.ClassCastException: android.widget.Button[] cannot be cast to android.widget.Button at "com.calculator_app.MainActivity.onCreate$lambda$0(MainActivity.kt:60)" it specifically mentioning the line num # 60 . i checked but dont understand the issue. here is my main Activity code ,iam developing calculator where i used lots of button in the xml screen package com.calculator_app import...
Open in Slack
Previous
Next