Narayan-Dhingra / compose-template

A template repository that provides a quick start for creating new Android apps using Jetpack Compose.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compose Template

This template repository provides a quick start for creating new Android apps using Jetpack Compose as the UI framework and following the MVVM architecture pattern.

It includes the following popular libraries:

  • Hilt - Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.
  • Room - Room persistence library provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.
  • Retrofit - A type-safe HTTP client for Android and the JVM.
  • Moshi - A modern JSON library for Kotlin and Java.
  • Coil - Image loading for Android backed by Kotlin Coroutines.
  • Flower - Flower simplifies networking and database caching on Android/Multiplatform.

How to use

To use this template, simply click on the Use this template button at the top (or fork the repository) and start building your app on top of it. Make sure to update the package name and other app-specific details before building and deploying your app.

Annotation Processing

This project uses Kotlin Symbol Processing (KSP) for annotation processing, which provides faster build times compared to KAPT. However, some dependencies may not support KSP yet, which is why KAPT is still used in some cases (like Hilt).

Build and Configuration Caching

This project also takes advantage of Gradle's Build Cache and Configuration Cache features to speed up builds and reduce build times. Note that these features may not always provide significant improvements in build times depending on the project structure and build complexity.

Contribution

Contributions to this project are welcome! If you encounter any problems or have suggestions for improvement, feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License.

About

A template repository that provides a quick start for creating new Android apps using Jetpack Compose.

License:MIT License


Languages

Language:Kotlin 100.0%