Jetpack Compose app for user interactions, collection of wearable data and interpretation of ML results.
- Android Studio
- Git
- app/src
- main: Kotlin source code
- java/org/htwk/pacing: android app source code
- ui: user interface, screen, components, themes, etc.
- backend: database connection, data collection/generation, etc.
- Application.kt: Entry point for non ui work (database, workers, etc.)
- MainActivity.kt: Entry point for ui
- res: icons, string localization, etc.
- java/org/htwk/pacing: android app source code
- androidTest: tests that run on an android emulator
- test: tests that run on a local machine/server
- build.gradle.kts: packages to compile app with
- main: Kotlin source code
- app/schemas: Full database schemas exported from room (separate file for each version)
- app/res: contains all application resource files, e.g. layouts, images, strings etc.
- values: stores simple resources like strings, colors, dimensions, ... in english language
- strings.xml: contains strings that are being displayed inside the app in english language
- values-de: stores simple resources like strings, colors, dimensions, ... in german language
- strings.xml contains strings that are being displayed inside the app in german language
- values: stores simple resources like strings, colors, dimensions, ... in english language
- docs: Project documentation, tutorials on how to use specific components
- gradle
- libs.version.toml: external package list + versions
- wrapper: current gradle executable
We are using exclusively English for source and commit messages. See also: https://gitlab.dit.htwk-leipzig.de/groups/pacing-app/-/wikis/Konventionen/Git
Classes, Interfaces, Objects and @Composable Functions are named using PascalCase:
data class DataEntry()
interface Graphable {}
object Companion {}Functions, Methods, Variables and Parameters are named using camelCase:
fun testFunction(paramOne: Double) {}
fun SomeClass.extensionFunction() {}
val databaseConnection = Database.createConnection()
var person = Person()Constants are named using UPPERCASE:
const val TAG = "SomeName"These rules can also be found in the official Kotlin Styleguide
Please read through our process before you start: