-
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
Create and edit geometries sample basic implementation #306
Create and edit geometries sample basic implementation #306
Conversation
Initialize the create and edit geometries sample
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.
Looks good! Just some comments while you're on your way!
...sri/arcgismaps/sample/createandeditgeometries/components/CreateAndEditGeometriesViewModel.kt
Outdated
Show resolved
Hide resolved
...sri/arcgismaps/sample/createandeditgeometries/components/CreateAndEditGeometriesViewModel.kt
Outdated
Show resolved
Hide resolved
.../com/esri/arcgismaps/sample/createandeditgeometries/screens/CreateAndEditGeometriesScreen.kt
Outdated
Show resolved
Hide resolved
...sri/arcgismaps/sample/createandeditgeometries/components/CreateAndEditGeometriesViewModel.kt
Outdated
Show resolved
Hide resolved
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.
@darryl-lynch Nice start of the sample 👍
...sri/arcgismaps/sample/createandeditgeometries/components/CreateAndEditGeometriesViewModel.kt
Outdated
Show resolved
Hide resolved
...tries/src/main/java/com/esri/arcgismaps/sample/createandeditgeometries/screens/ButtonMenu.kt
Outdated
Show resolved
Hide resolved
...tries/src/main/java/com/esri/arcgismaps/sample/createandeditgeometries/screens/ButtonMenu.kt
Outdated
Show resolved
Hide resolved
Cleaner syntax Co-authored-by: TADraeseke <tdraeseke@esri.com>
Implement state hoisting
I've changed the base branch to another branch since an effectively incomplete sample should not be going into |
Since all comments have been addressed and there are no new comments I am going to merge this into my working branch so I can create a new PR against it for the second stage |
Description
Basic implementation of create and edit geometries sample for early review.
Links and Data
Issues: https://devtopia.esri.com/runtime/kotlin/issues/2921, https://devtopia.esri.com/runtime/kotlin/issues/5231
vTest: https://runtime-kotlin.esri.com/view/all/job/vtest/job/sampleviewer/73/
What To Review
Review like ordinary sample, but also check whether any issues that would hinder addition of rest of features in future. Mostly using the Snap Geometries sample as a basis for function logic. Will fail style checks as README will likely be part of final stage.
How to Test
Run the sample on the sample viewer or the repo.