Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android Viewmodel

Room Database: Getting SELECT MAX() Twice After Creating New RecyclerView Item

I have a RecyclerView list of CardView items that is working properly. Upon creation of a new Card… Read more Room Database: Getting SELECT MAX() Twice After Creating New RecyclerView Item

Android ViewModel Recreated On Screen Rotation

I found a case when architecture components ViewModel isn't retained - in short it goes as foll… Read more Android ViewModel Recreated On Screen Rotation