Fork of Android Architecture Starter Templates that doesn't require bash 4 (can be setup on default mac environment)
✅ What it is: A collection of templates featuring a layered architecture ready to be used in greenfield projects or quick experiments, following the Guide to app architecture.
🙅 What it's not: These templates are not designed to be educational code samples. For that, check out Architecture Samples, the Now In Android sample or Compose samples.
Templates are compatible with the latest stable version of Android Studio.
Template | Description |
---|---|
base |
Reactive architecture, Compose, database, single module |
multimodule |
Base template + multimodule |
The app contains a simple Compose UI that shows a list of
saved strings and lets the user save new ones.
- Room Database
- Dependency injection with Hilt
- Jetpack ViewModel
- UI using Jetpack Compose and Material3
- Jetpack Navigation
- Reactive data layer
- Kotlin Coroutines and Flow
- Unit tests
- UI tests using fake data with Hilt
- Clone the repository, optionally choosing a branch. For example, to check out the
base
branch:
git clone https://github.com/Monkey-Matt/architecture-templates.git --branch base
- Set customizer script to executable:
cd Documents/GitHub/architecture-templates
sudo chmod 755 'customizer.sh'
- Run the customizer script:
./customizer.sh your.package.name YourAppName
your.package.name
is your app ID (should be lowercase)YourAppName
is a name for your application (should be in PascalCase).
This code is distributed under the terms of the Apache License (Version 2.0). See the license for more information.