Changes proposed in this pull request:
Made the calls to the Repository asynchronous so they are performed on a background thread. This is because Room does not allow any DB queries on the main thread.
Because the data will be updated in a background thread, the only way for the data to propagate to the UI is by using LiveData
Fixes #102 .
Changes proposed in this pull request: Made the calls to the Repository asynchronous so they are performed on a background thread. This is because Room does not allow any DB queries on the main thread. Because the data will be updated in a background thread, the only way for the data to propagate to the UI is by using LiveData