How can I make the LiveData getValue() function return the list of items from my rooms database in Android?

前端 未结 0 1633
庸人自扰
庸人自扰 2021-02-19 02:46

I have a getAllFlights() method in my ViewModel class which is supposed to return all the flights in my rooms database, however, when I call the method in my activity, it return

相关标签:
回答
  • 消灭零回复
提交回复
热议问题