Room does not insert data to table
问题 It is interesting point that it sometimes performs insert operation correctly. I do not know why and how this situation can be happens. So, I could not figure out where I made a mistake(s). Here is my project files. 1) SentFilesDao.java @Dao public interface SentFilesDao { @Query("SELECT id, name, type, status, dateTime FROM sent") LiveData<List<SentFilesEntity>> getAllSentFiles(); @Insert(onConflict = OnConflictStrategy.IGNORE) void insert(SentFilesEntity file); @Query("DELETE FROM sent")