google / google/ground-android
[Code health] Consider organizing and and naming packages according to their respective layer
Open
type: code health
- Dominant language
- Kotlin
- Stars
- 293
- Forks
- 149
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 42
Description
From https://developer.android.com/topic/architecture:

So under com.google.android.ground, we'd probably have:
* .ui
* .domain.usecase
* .domain.model
* .data.repository
* .data.source
And possibly:
* .system for wrappers around system services (no change from current state)
* .common.coroutines
* .common.collect
* .common.rx
Lastly, activities should probably be in ui layer instead of root.
@shobhitagarwal1612 @scolsen @JSunde for your input.
Contributor guide
Assessment
This issue has not been assessed yet.