Giter Site home page Giter Site logo

movies's Introduction

Movies

This is a simple application to demonstrate CLEAN architecture. Data is provided from themoviedb Feel free to build & try it!

Tech stack

  • Retrofit + OkHttp
  • Dagger2
  • RxJava2
  • Glide
  • Android Architecture Components : Extensions
  • Paginate

Code structure

I have created 4 top level packages:

  1. data: contains components to get the data, also holds the implementation of the domain-defined DataSource interface
  2. device: contains implementations for the domain-defined interfaces strongly linked to Android environment like ImageLoader and ResourceHelper
  3. domain: defines the business objects like actions, operations, entities, use cases
  4. presentation: responsible for presenting data and communicating with domain layer.

Ideally the data and domain layers could be pure kotlin modules without any Android-related dependencies. Presentation and device would still be application and android library respectively because they have dependencies towards the Android framework.

Screenshots

Search page Details Page

movies's People

Contributors

sztomek avatar

Watchers

James Cloos 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.