google / google/ground-android

[Code health] Consider refactoring merging of offline/remote survey into SurveyRepository

Open
#1,631 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

Combining data from multiple data sources is the responsibility of repositories, but is currently being done in `SurveySelectorViewModel init{}`. `isAvailableOffline` can then be moved to the `Survey` model object.

@shobhitagarwal1612 Wdyt?

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.