Skip to content

A sample project to show the API usage of TMDB with MVP and Clean architecture

Notifications You must be signed in to change notification settings

xardox69/TMDB-Listings

Repository files navigation

TMDB Listings

A simple Android application which shows TV Shows and Movies listings from TMDB.

This app stands on the principles of Clean Architecture

It's based on the MVP adding a domain layer between the presentation layer and repositories, splitting the app in three layers:

MVP: Model View Presenter pattern.

Domain: Holds all business logic. The domain layer starts with classes named use cases used by the application presenters. These use cases represent all the possible actions a developer can perform from the presentation layer.

Repository: Repository pattern.

Image

The application consists of four UI screen:

Movies Screen

Shows the movies listings. MoviesFragment.java is responsible for showing movies listings. com.dubizzle.app.movies package contains classes used to show movies.

Tv Shows Screen

Shows the Tv Shows listings. TvShowsFragment.java is responsible for showing movies listings. com.dubizzle.app.tvshows package contains classes used to show TV Shows.

Detail Screen

Shows details of the selected item. DetailActivity.java is responsible for showing details of the screen. 'com.dubizzle.app.details' package contains all the related classes.

Filter Screen

Shows the filters for date. FilterActivity.java is responsible for showing the filter screen. The filter package contains the files related to this.

Libraries

Unit Testing

Unit testing of all the presenter is done as well as the instrumentation tests.

Code Coverage for the business logic layer

Feedback

For feedback and quering, please email at [email protected].

About

A sample project to show the API usage of TMDB with MVP and Clean architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages