This restructures the Trips feature to use the UseCase pattern for passing data between the repository and the viewmodel. On top of this, it also now uses Flow from Kotlin's coroutines library to allow the viewmodel to react to updates to the cached trip data in the repository.
This also updates the Kotlin Coroutines library to 1.3.0-M1.
Checklist
[x] I ran ./gradlew test connectedAndroidTest detekt
This restructures the Trips feature to use the UseCase pattern for passing data between the repository and the viewmodel. On top of this, it also now uses
Flow
from Kotlin's coroutines library to allow the viewmodel to react to updates to the cached trip data in the repository.This also updates the Kotlin Coroutines library to
1.3.0-M1
.Checklist
./gradlew test connectedAndroidTest detekt
upstream/master