google / google/ground-android

[Code health] Refactor main fragments

Open
#841 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.