A starter culture for Android Projects! 🍞
There are a lot of important things in Android development that the Android Studio project templates don't include. From dependency injection, to JUnit 5 for testing, to Kotlin build scripts for Gradle files, this project template seeks to provide those things and save time when creating a new project.
Instead of cloning or forking this repo, use it as a template instead.
- Pre-enabled view binding and a
ViewBoundFragment
base class to easily manage binding and unbindingFragment
views
- Kotlin and Java 8 source compatibility pre-configured
- Kotlin build scripts and
buildSrc
for dependency management
- A selection of common AndroidX dependencies (recycler view, constraint layout, view model, Room, etc.) easily included
- Ready made
Application
subclass annotated with@HiltAndroidApp
- An example
Activity
andFragment
injected using Hilt
- Pre-configured for running unit tests under JUnit 5, with an example test
- Easily included support for running existing JUnit 4 unit tests in the JUnit 5 runner
- Pre-configured support for running instrumentation tests under JUnit 5 as well
- Espresso and Androidx testing dependencies included, with an example test
- A workflow for building the app, running the unit tests, and running the instrumentation test on pull requests
- A .gitignore file for Android projects