Skip to content
Android boilerplate repo being used at Dwarves to kickstart a new Android app development
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Android Boilerplate

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

2. Install python


Follow official guide:

Mac, Ubuntu

python is already pre-installed.

3. Install pip


pip is already pre-installed with python.

MacOS/ Ubuntu

python -m ensurepip --default-pip

4. Install pystache

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 /project


  • Login page
  • Map page
  • List page
  • Detail page


MIT © Dwarves Team

You can’t perform that action at this time.