LiveData is not updating its value after first call

前端 未结 4 870
谎友^
谎友^ 2020-12-08 21:34

I have been beating my head against the wall and I cannot understand why this is happening. I am working with the new Architectural Components for Android and I am having pr

4条回答
  •  醉话见心
    2020-12-08 21:46

    Dao must be same across all operations. You use different Dao instance for insert and observe

提交回复
热议问题