Skip to content

This repository contains a detailed sample app that implements Clean architecture and MVP in Kotlin using RxJava2, Retrofit

Notifications You must be signed in to change notification settings

andresserranodev/Clean_Marvel_Kotlin

Repository files navigation

Build Status codecov.io CodeFactor

Clean Marvel Kotlin

Kata Kotlin Follow :

Clean Arquitecture

MVP

Continuous Integration Using Tavis

Pending

Continuous Delivery

Using :

Retrofit

Gson converter

RxJava

RxAndroid

Picasso

Realm

Dagger 2

What can i do?

main objective with this repository is give the ability to change the details easily for example

  1. use Room instead Realm
  2. use Fast-Android-Networking instead Retrofit
  3. 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

alt text

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:

  1. add detail screen
  2. add commics taps
  3. add pager scroll

Enhancements:

  1. migrate to kotlin DSL

Sources

Course Kotlin for android developers by Antonio Leiva

Keddit — Part 6: API — Retrofit & Kotlin

Karumi/KataScreenshotKotlin

Android Clean Architecture

Clean Architecture: A Craftsman's Guide to Software Structure and Design (Robert C. Martin Series) 1st Edition

About

This repository contains a detailed sample app that implements Clean architecture and MVP in Kotlin using RxJava2, Retrofit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published