You wrote you had to use some hackery by calling insertAll multiple times.
Christophe Beyls
1

The hackery code is provided, the link to the github repository with all of my test cases is in the article.

Also, I was sticking to the recommendations in Room’s documentation about bulk inserts with a vararg-accepting @Insert method on the DAO. That’s why I felt it was more idiomatic to call that method a few times with chunks of the overall data set than to call a single-insert method within a transaction.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.