I have the following situation while using Room: A...
# room
s
I have the following situation while using Room: After making an API call. I will store that data in room. I will restart the app and again call the API to get the latest data, clear the database and insert all the items again. I am using Room with RxJava. My question is: If I delete all the items from the database and get an error. How should I proceed with insertion in that case?