A fun little stopwatch app for Wear OS. The main aim of creating this app was to try out Jetpack compose for Wear OS, and also to try building a complex animation using the Canvas API, with the help of Trigonometry. The design is heavily inspired from the default stopwatch app.
clocky_demo.mp4
- Entirely written in Kotlin.
- Jetpack Compose for Wear OS for creating the UI.
- Kotlin Coroutines for threading.
- Kotlin Flows for creating reactive streams.
- Java 8 Date/Time API for dealing with date and time.
- Android Services for running the stopwatch in the background.
- All concrete implementations are prefixed by the term "Clocky".
- Commit messages follow the Conventional Commits specification.
- Manual Dependency injection.
In this project, a package is considered as a single module. Although, this is a small app, the package structure tries to conform to the modularization strategy specified in the Guide to Android app modularization article of the offical Android Developers website.