marsicdev / kotlinplate

Kotlin Android boilerplate project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kotlinplate

Kotlin Android MVP boilerplate starter project.

Project contains a detailed sample app that implements MVP architecture using Kotlin, Dagger2, RxJava2 and Retrofit. Application also provides full testing implementation. Project is created using latest AndroidStudio Canary build so some updates will be needed.

For code check develop branch.

Notice: This project is created for personal use and it is constant work in progress

Project

Packaging

The app has following packages

  1. data: It contains all the data accessing and manipulating components
  2. di: Dependency providing classes using Dagger2
  3. ui: View classes along with their corresponding Presenters and Contracts
  4. utils: Extension functions

Resources

Libraries used

  1. Kotlin - Statically typed programming language for the JVM, Android and the browser
  2. Dagger2 - A fast dependency injector for Android and Java
  3. RxJava2 - Reactive Extensions for the JVM
  4. RxAndroid - Reactive Extensions for Android
  5. Retrofit - Type-safe HTTP client for Android and Java
  6. OkHttp - An HTTP+HTTP/2 client for Android and Java

Code references

  1. Google - Android Architecture Blueprints
  2. MindorksOpenSource - Android MVP Architecture

License

The MIT License (MIT)

Copyright (c) 2017 Marko Arsić

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Kotlin Android boilerplate project


Languages

Language:Kotlin 100.0%