google / google/ground-android
[Survey list] Simplify UI state design
Open
type: code health
- Dominant language
- Kotlin
- Stars
- 293
- Forks
- 149
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 42
Description
* `uiState` is serving as both a state and an event to represent completion of survey activation or errors.
* The list, being reactive, updates once a survey is made available offline. This causes the state to change, leading to workarounds in https://github.com/google/ground-android/pull/2768. This can be simplified by splitting states and events as in the previous point.
@anandwana001 @shobhitagarwal1612 @scolsen FYI
Contributor guide
Assessment
This issue has not been assessed yet.