google / google/ground-android
[Code health] Refactor main fragments
Open
type: code health
- Dominant language
- Kotlin
- Stars
- 293
- Forks
- 149
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 42
Description
- [ ] Move behavior and state from HomeScreenFragment, MapContainerFragment, and others into view models.
- [ ] Move logic into appropriate class. Namely, there's a lot of logic relating to feature details in the HomeScreenFragment that ideally would live in FeatureDetailsViewModel.
- [x] Move visibility state of `FeatureRepositionView` into `FeatureRepostionViewModel`
- [x] Move visibility state of `PolygonDrawingView` into `PolygonDrawingViewModel`
Contributor guide
Assessment
This issue has not been assessed yet.