Closed iNoles closed 4 years ago
If you are unit testing on
@Insert fun insertArticles(articles: List<NewsArticles>): List<Long>
it always output as [].
Yeah I think it's because of in-memory database 🤔
I found another way of doing it. https://code.luasoftware.com/tutorials/android/android-room-batch-insert-or-update/
If you are unit testing on
it always output as [].