Giter Club home page Giter Club logo

popularmovies-mvvm-sample's Introduction

PopularMovies

Android Sample app to show user latest movies implementing MVVM + Clean Architecture using kotlin following solid and clean code principles .

Latest Movies Movies Search Hint Latest Search Movie Details Liked Movie Details

The goal of this app is to show how to implement MVVM design pattern with architecture components & clean architecture in Kotlin .

Tech stack:

Kotlin, MVVM, Retrofit, Room, Coroutines, Dagger2, Navigation-component, Unit-Testing(Mockito), Ui-testing(Espresso), Package by feature.

Source Code representation :

  • base : Base level classes (Activity, Fragment & Viewmodel).
  • main : MainActivity handling navigation between fragment using navigation component.
  • movies : Main Screen with grid displaying all movies list.
  • detail : Detail screen displaying selected movie details & trailer list.
  • utils : Configuration for Network layer, Database & Dagger alongside helper classes.

Each package is divided into multiple packages demonstrated as following.

  • data : Contains data layer which has local & remote data sources with repository implementation.
  • domain : Contains the domain layer wiht factory logic & mapper before.
  • di : Contains all dagger depndencies mapping.
  • presentation : Contains the view layer that consists of views & viewModels.

Please note that each developer has his own style in coding ,The goal is to implement the concepts of the design and architecting in the right way .

Contribution

Please feel free to make a pull request or fork.

Rate

If you find this repository useful please give it a star .

popularmovies-mvvm-sample's People

Contributors

atwa avatar atwaagbl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.