jetpack-compose-template
jetpack-compose-template copied to clipboard
Android Jetpack Compose template in Kotlin
Jetpack Compose Android template
To create you own repo, click on:
[!IMPORTANT] Here you can find detailed instructions on how to turn the template into your own app
What does it use?
- Kotlin as main language
- Jetpack Compose as modern toolkit for native UI
- Material 3 components for Jetpack Compose to build UI faster
- Room as local persistent DB
- Retrofit+OkHttp: for api calls
- Proto Datastore as typesafe data storage solution with protocol buffers support
- Dagger Hilt for Dependency Injection
- Detekt for static code analysis and formatting
- Timber for logging
- Eva icons for the icons to use throughout the whole app
- Coil for image loading backed by Kotlin coroutines
- Splashscreen API to display a splashscreen at app launch
- Per-app language preferences to use a language inside the app that is different from the system language
What does it offer?
- ⚫ dark theme support
- 🇬🇧 🇮🇹 in-app language preference
- 🔒 encrypted datastore
- 🔭 linting and formatting on PR
- 🔧 custom snackbars
Screenshots
Light/dark theme
Language and theme pickers
Inspo
- version catalog: see inspo
- Result: see inspo
- TemplateAppState: see inspo
- NetworkMonitor: see inspo
- ConnectivityManagerNetworkMonitor: see inspo
Useful features
If you wanna implement some of the following things (not included by this template), consider searching in Now in Android repo first:
- TimeZone
- Analytics (e.g. based on app product flavor)
- Notifications
- Crashlytics
[!NOTE] Feel free to contribute or reach out to me at my email
