This is a boilerplate project for android mobile app
You can use the samples in this project as a learning reference, or as a starting point for creating your own apps. The focus of this project is on demonstrating how to structure your code, design your architecture, and the eventual impact of adopting these patterns on testing and maintaining your app. You can use the techniques demonstrated here in many different ways to build apps. Your own particular priorities will impact how you implement the concepts in these projects, so you should not consider these samples to be canonical examples. To ensure the focus is kept on the aims described above, the app uses a simple UI.
This repo contains the following samples:
MVP Sample Demonstrates a basic MVP architecture and provides a foundation on which the other samples are built. This sample also acts as a reference point for comparing and contrasting the other samples in this project.
MVVM Sample Based on the MVVM best practice: Inputs - Outputs, this version incorporates the MVVM pattern.
Clean Architecture Sample A basic implementation of Clean Architecture and Model-View-Presenter Architecture on android
1. Clone template from git
git clone firstname.lastname@example.org:dwarvesf/template-android-app.git
Follow official guide:
python is already pre-installed.
pip is already pre-installed with
python -m ensurepip --default-pip
pip install pystache
5. (Optional) Fabric crashlytics
If you need a crash reporting service, you can register a fabric account and get an API key at:
6. (Optional) Google Maps
If you want to use Google Maps, you need to get an API key with your google account at:
7. Generate project
and follow the guide.
After successful creating, your project can be located at
- Login page
- Map page
- List page
- Detail page
MIT © Dwarves Team