-
Notifications
You must be signed in to change notification settings - Fork 35
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
Migrate sample: Find route #271
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really good clean code! Few small comments below.
One high level thought--should we grey out or even remove the "Solve route directions" button after solving?
...nd-route/src/main/java/com/esri/arcgismaps/sample/findroute/components/FindRouteViewModel.kt
Outdated
Show resolved
Hide resolved
...nd-route/src/main/java/com/esri/arcgismaps/sample/findroute/components/FindRouteViewModel.kt
Outdated
Show resolved
Hide resolved
...nd-route/src/main/java/com/esri/arcgismaps/sample/findroute/components/FindRouteViewModel.kt
Show resolved
Hide resolved
...les/find-route/src/main/java/com/esri/arcgismaps/sample/findroute/screens/FindRouteScreen.kt
Outdated
Show resolved
Hide resolved
@TADraeseke I added in the feedback comments, ready for your review. Regarding the solve route button, I had intentionally kept it enabled to allow for repeated route solves which then updates the map's viewpoint to the result. If you find it unintuitive, I can disable the button after the first solve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
PR to migrate the Find route sample to Compose
Links and Data
Sample issue: #5010