Awesome Open Source
Awesome Open Source

Ultimate Android Template MVP // Dagger 2 // Boilerplate // Bootstrap // Bottom Navigation Menu Material Design

Sadly, I don't have time to maintain this. If you'd like to be a maintainer, drop me a message in an issue !!


A simple template application following the MVP Arhitecture updated frequently with the latest version of most common libraries. There are many good templates out there, but with this one I tried to keep things as simple as possible. For the bottom menu I used com.github.bufferapp:AdaptableBottomNavigation (but as copy paste in the project since as gradle doesn't work)

Everybody got their own preferences about databases and testing, so I left them out.

screenshot android template boilerplate boostrap

Before you begin with this template:

  • Looking for something simpler (without Dagger 2 etc.) ? -> Ultimate Android App Template
  • You have basic knowledge of: Dagger 2, Retrofit, Butterknife,...

How to use it

Step 1:

  • Fork or clone the repository
  • Run it and see that it's working on your emulator
  • Modify applicationId "com.androidadvance.ultimateandroidtemplaterx2" to your package name
  • Check the compileSdkVersion, and buildToolsVersion to be the latest
  • IMPORTANT: Remove the libs that you don't need. Add those that you do
  • Star this repository :)

Step 2. ??? Step 3. Profit

What it contains

apply plugin: ''

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.androidadvance.ultimateandroidtemplaterx2"
        minSdkVersion 16
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner ""
        vectorDrawables.useSupportLibrary = true
        buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
    buildTypes {
        release {
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), ''
        debug {
            applicationIdSuffix ".debug"
            debuggable true

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8

    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'LICENSE.txt'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE'
        exclude 'LICENSE.txt'

    lintOptions {
        warning 'InvalidPackage'
        abortOnError false

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation ''
    implementation ''
    implementation ''
    implementation ""
    implementation ""

    // Dependency Injection
    compile "🗡2.13"
    annotationProcessor ""
    compile 'javax.inject:javax.inject:1'

    //----- Retrofit
    implementation 'com.squareup.retrofit2:retrofit:2.4.0'
    implementation "com.squareup.retrofit2:converter-gson:2.1.0"
    implementation 'com.squareup.okhttp3:logging-interceptor:3.7.0'

    //----- Butterknife
    implementation 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

    //----- Eventbus
    implementation 'org.greenrobot:eventbus:3.1.1'

    //----- Logging
    implementation 'com.github.zhaokaiqiang.klog:library:1.6.0'

    //----- Picasso
    implementation 'com.squareup.picasso:picasso:2.71828'

    //----- Styled Dialogs
    implementation 'com.muddzdev:styleabletoast:1.0.6'

    //------ Custom Font
    implementation ''

    testImplementation 'junit:junit:4.12'
    androidTestImplementation '🏃1.0.2'
    androidTestImplementation ''


Need more nice stuff ?


Thanks to the following for their work:

[ribot guys] ( [yigit] (


Copyright 2015

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (697,538
Android (41,662
Template (8,088
Dagger2 (1,237
Mvp (1,201
Dagger (272
Alien (83
Ufo (38
Android Mvp Architecture (34
Related Projects