Kotlet
Just another Kotlin sample Android application which uses MVP architecture, Dagger2, Retrofit + Okhttp, RxJava etc.. plus some docs I've collected
Install / Use
/learn @mirrajabi/KotletREADME
Kotlet
<p align="center"> <img src="https://user-images.githubusercontent.com/8886687/27769178-68ca1c8e-5f39-11e7-9345-cd6560c71ace.png"/> <br> <blockquote>It's not a cutlet, its a hamburger. I know.. I couldn't find any good icon of it online.. so yeah! It is what it is.. try to live with it.</blockquote><br><br> </p>Kotlet or Cutlet... Whatever... Its delicious!
("کتلت" : Persian word for cutlet)
This repo is a sample android application made by Kotlin and only one Java POJO file for the ones who love Kotlin but don't want to leave Java. The base idea was to make a sample application using Kotlin lang with the following features:
- MVP architecture
- Dependency injection using Dagger2
- Rest calls using Okhttp + Retrofit
- RxJava2 calls
Project structure
<div> <img style="width:50%;" src="https://user-images.githubusercontent.com/8886687/27787345-ace8b946-5ff9-11e7-9717-dbb565907e96.PNG"/> <img style="width:50%;" src="https://user-images.githubusercontent.com/8886687/27787346-acf08540-5ff9-11e7-9f3c-243c17ec61ba.PNG"/> </div> Its more about the kotlin lang itself and how to use these libraries with it. no fancy ui implemented yet but may be in future. I will add more features soon.Doc Collections
I've collected some good stuff that would help you learn Kotlin in android.
Checkout Wiki
Contributions
Any contributions are welcome. just fork it and submit your changes to your fork and then create a pull request. or if you have any ideas or issues just submit them in Issues tab.
Credits
I used
- JsonPlaceholder as test api server
- BRVAH for a quick implementation of adapters.
- ...
