Skip to content

Personal Android Application Boilerplate with navigation, unit test, and architecture pattern examples

Notifications You must be signed in to change notification settings

syamsudotdev/android-boilerplate

Repository files navigation

Android Boilerplate

Configuration Boilerplate

  • Archive name
  • Centralized library version definitions in gradle root project
  • Crash reporter only enabled on development and staging build variant
  • Environment configuration: development, staging, production
  • Hilt dependency injection setup
  • Jetpack navigation setup
  • Leak canary only enabled on debug build variant
  • OkHttp & Retrofit setup in dependency injection
    • Plain (unauthorized) - instance without authorization & authenticator
      • @PlainOkHttp qualifier
      • @PlainRetrofit qualifier
    • Authorization & Authentication - instances with authorization & authenticator
      • @AuthOkHttp qualifier
      • @AuthRetrofit qualifier
      • OkHttp empty authenticator
      • OkHttp empty auth interceptor
  • R8 enabled
  • SharedPreferences setup in dependency injection
  • Single activity application

Jetpack navigation boilerplate examples

TODO

  • Navigation drawer with jetpack navigation boilerplate
  • MVP architecture pattern boilerplate
  • MVP unit testing complete sample
  • MVVM unit testing complete sample

Libraries

Android officials

Third parties

About

Personal Android Application Boilerplate with navigation, unit test, and architecture pattern examples

Topics

Resources

Stars

Watchers

Forks

Languages