Room数据库不能在主线程中进行操作,需要新开子线程。
Room:Cannot access database on the main thread since it may potentially lock the UI for a long perio
最新推荐文章于 2024-05-31 15:00:10 发布
Room数据库不能在主线程中进行操作,需要新开子线程。