-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove use of LiveData for fetching DirectionsRoute and updating Location #879
Conversation
38f7d63
to
aefe7e8
Compare
@Guardiola31337 @devotaaabel would love some eyes here for possible suggestions on how to make |
093d0b7
to
68978e5
Compare
@Guardiola31337 @devotaaabel okay this is ready for 👀 - if you have some better ideas for tests, please leave them as feedback. Confirmed re-routes are occurring successfully in the background 🚀 I decided to create some instrumentation tests as well, but because this PR is so big, I'm going to create a follow up PR to address this. |
ab9592c
to
96cd589
Compare
Closes #750
We currently use
LiveData
to update newDirectionsRoute
s (such as an off-route event) andLocation
updates (previouslyRouteViewModel
andLocationViewModel
).This PR removes these vm's and replaces them with classes that has callbacks and can operate in the background without issue.
TODO:
NavigationCamera