BradPatras / just-workout-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Just Workout

Workout database app to assist in coming up with fresh and effective strength training workouts.

Project structure

The app is not technically modularized but the package structure mimics how I would modularize it. This keeps responsibilities clear and if I were to actually modularize in the future it would be pretty simple.

  • app/.../justworkout/
    • models/ - Domain models common to the entire app
    • database/ - Room databse Entities and DAOs
    • repository/ - Abstraction layer to decouple data fetching from the core app
    • di/ - Dependency injection utilities and shared components
    • ui/ - Composables and ViewModels
    • utility/ - Shared utilities

Dev docs

Taking some architectural inspiration from skydove's pokedex project.

View Models and State in Compose

Guide to App Arch

Compose Previews with ViewModels

Compose Destinations Library Docs

Compose Destinations article explaining the navArgsDelegate feature

Room db article on defining relationships

About

License:GNU General Public License v3.0


Languages

Language:Kotlin 100.0%