google / google/ground-android

[Survey list] Simplify UI state design

Open
#2,781 0 comments 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

* `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

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.