Stonks is a pet project app to track your favorite stocks.
It uses Kotlin Multiplatform Mobile (KMM) to share code across iOS and Android.
Note: This article about Stonks has been featured in both Android Weekly (#490) and Kotlin Weeekly (#273). Thanks to both! 🙏
- Repositories with both local and remote data sources (Data layer).
- UseCases exposed to clients to fetch and combine data for the different app features (Domain layer).
- Libraries used: ktor-client, kotlin-coroutines, kotlin-serialization and sql-delight
- Home screen with saved stocks and search screen to find stocks (Presentation and UI layers).
- Single activity architecture
- Light/Dark theme
- Libraries used: Stonks shared library, Jetpack Compose and kotlin-coroutines
Home screen (Light) | Home screen (Dark) | Search screen (Light) | Search screen (Dark) |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
- Decoupling apps and library into different repositories, updating library dependencies with Dependabot
- iOS app