Clean_Marvel_Kotlin
Clean_Marvel_Kotlin copied to clipboard
This repository contains a detailed sample app that implements Clean architecture and MVP in Kotlin using RxJava2, Retrofit
Clean Marvel Kotlin
Kata Kotlin Follow :
Continuous Integration Using Tavis
Pending
Using :
What can i do?
main objective with this repository is give the ability to change the details easily for example
- use Room instead Realm
- use Fast-Android-Networking instead Retrofit
- use MVVM or MVI instead MVP
"All software systems can be decomposed into two major elements: policy and details. The policy element embodies all the business rules and procedures. The policy is where the true value of the system lives. The details are those things that are necessary to enable humans, other systems, and programmers to communicate with the policy, but that do not impact the behavior of the policy at all. They include IO devices, databases, web systems, servers, frameworks, communication protocols, and so forth."
Martin, Robert C.. Clean Architecture: A Craftsman's Guide to Software Structure and Design (Robert C. Martin Series) (p. 140). Pearson Education. Kindle Edition.
How it looks
How to use this project
You can use Android Studio or Intellij to work with this repository.
First thing you will need to compile this project is to get an API Key and hash from Marvel
buildConfigField "String", "PRIVATE_API_KEY_VALUE", '"your-private-apikey"'
buildConfigField "String", "PUBLIC_API_KEY_VALUE", '"your-public-apikey"'
The Kotlin
plugin for Android Studio is also required.
TODO:
- add detail screen
- add commics taps
- add pager scroll
Enhancements:
- migrate to kotlin DSL
Sources
Course Kotlin for android developers by Antonio Leiva