使任务排队以刷新已更新表的列表.调用RoomDatabase.endTransaction()时会自动调用此方法,但是如果您与数据库有另一个连接或直接使用SupportSQLiteDatabase,则可能需要手动调用此方法. Enqueues a task to refresh the list of updated tables. This method is automatically called when RoomDatabase.endTransaction() is called but if you have another connection to the database or directly use SupportSQLiteDatabase, you may need to call this manually. 这篇关于在执行自定义SQL查询ROOM时通知观察者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-02 18:42