This is a very easy error to fix and usually is caused when you change a Room entity configuration. For testing purposes, just increment your version number in your abstract RoomDataBase() class & add a call to “.fallbackToDestructiveMigration()” just before “.build()” on your Room.databaseBuilder() call. NOTE, THAT THIS MAY DESTROY ALL SAVED DATA AND SHOULD…(Continue Reading)
Category: android
Cannot find symbol class FragmentIngredientEditBindingImpl DataBinderMapperImpl.java
This was a rather cryptic Gradle build error for a Kotlin App I was testing. Turns out, I had used the wrong object variable name of @{vm.ingredient.quantity + “”} The correct object variable was named “sourceQuantity”. Fix: Check your variable names in your XML layout files. Once I corrected the name my app build was…(Continue Reading)
Excellent books to expand programming skills.
Kotlin and Android Development featuring Jetpack – Covers a vast array of Kotlin features, with a good focus on Jetpack. This may have been the most difficult read I’ve ever encountered, but I started it with almost no understanding of app development with Kotlin, never mind Jetpack. I highly recommend this book to anyone currently…(Continue Reading)
Firebase Database paths must not contain ‘.’, ‘#’, ‘$’, ‘[‘, or ‘]’
I’m trying to minimize the amount of data downloaded for subscriber accounts. I’d like to store all of my subscribers in the path /subscribers/[emailAddress]/ on my Firebase Database. If I can’t use the email address as part of the path, I’ll be forced to download the entire list of subscribers and then search through the…(Continue Reading)