Skip to content
Advertisement

Tag: dao

Android Room Query returning null

I am trying to get the values from a DB via Room but it always returns null. It should retrieve the data from DB BalancesCat. Any help? Thanks! This is the DAO Repository ViewModel and the Fragment where I want to retrieve the data Answer This isn’t your problem, but I have to mention, your repository’s getAllBalancesCat() function is needlessly

Advertisement