Giter Site home page Giter Site logo

android-project-kickstarter's Introduction

Android Project Kick-Starter

An android project that serves as a starter template to help you quickly get started.

This project is work in progress. Feedback is welcome!

Description

The project is divided into 2 modules. domain is a library module that is meant to encapsulate domain and data access (network and db) code. domain "exports" a set of koin modules that the app module can use to inject domain's services (usually injected into viewmodels)

app is the main module. It encapsulates all your activities, views, and viewmodels.

Getting Started

  1. Clone this repo to your local machine https://github.com/karimit/android-project-kickstarter.git
  2. Use android studio to rename the application package.
  3. Crashlytics integration:
    • Create a new firebase project
    • Add an android application for the -release- build type.
    • Download google-services.json to src/release and remove src/release/google-services-template.json
    • Add an android application for the -debug- build type (use the .debug package suffix).
    • Download google-services.json to src/debug and remove src/debug/google-services-template.json
  4. Create a signing key for signing the release build. Take note of keystore password, password, and alias.
  5. Rename keystore-template.properties to keystore and fill out the placeholders with outputs from step 4.

DONE!

Requirements

  • Android Studio 3.5+ (not tested on earlier versions)
  • Java 8+

What's in it

  • Kotlin
  • Koin for dependency injection
  • Androidx Android Jetpack libraries (lifecycle, viewmodel, navigation, savedstate and more)
  • Kotlin Coroutines
  • Ktlint - Kotlin Linter
  • LeakCanary - Leak Reporting
  • Material Components - Material Design UI components for Android
  • Stetho - Network Traffic Inspector
  • Timber - Logging library
  • Crashlytics Integration -- Crash reporting is disabled in the debug build by default. Change enableCrashReporting to "true" in app's build.gradle in the debug build type block to enable crash reporting for the debug build. -- ReleaseTree timber tree is planted by default. It reports errors and exception to Crashlytics.
  • Retrofit HTTP Client. Setup with OkHttp and some useful interceptors.
  • ThreeTenABP Java Time backport

License

This project is licensed under the MIT License - see the LICENSE.md file for details

See something stupid?

  • Suggestions & issues are welcome!

android-project-kickstarter's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.