Changed the use of "Tasks" in Room and class names from plural to singular. This is consistent with our guidance in training videos (example). Notable changes are:
Tasks table -> task
TasksDao -> TaskDao
TasksRepository -> TaskRepository
Changed DAO insert to upsert as it removes the update method
Here's what I've done and why:
Tasks
table ->task
TasksDao
->TaskDao
TasksRepository
->TaskRepository
insert
toupsert
as it removes theupdate
methodFakeTaskDao
to provide a more robust API for getting/setting the underlying tasks in tests