Room - LiveData not triggered
问题 I'm trying to work with Room database & LiveData. I have ViewModels which holds LiveData they got from dao. If I update a Transaction , then LiveData<List<Transaction>> is observed ok, but LiveData<Transaction> is not observed at all. How is that possible? What am i doing wrong? public abstract class Dao { @Query("SELECT * FROM transact WHERE deleted = :value") public abstract LiveData<List<Transaction>> allTransactions(boolean value); @Query("SELECT * FROM transact WHERE guid = :guid AND