Skip to content
Advertisement

UninitializedPropertyAccessException in Android Studio using Kotlin

I am a beginner making use of a Roomdatabase. Mostly using it to load in and pass items between tables using simple relationships.

For some reason it isn’t properly adding the selected item from the recyclerView adapter to the selectedItem variable.

Would appreciate any insight into why this is happening all of a sudden.

Advertisement

Answer

It turned out that the error occurred because I was tapping the checkbox itself and not just the card.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement