/Popular-Movies

Project for Udacity's Android Developer Nanodegree Program

Primary LanguageJava

Popular Movies

Popular Movies brings in the most popular and top rated movies from TheMovieDb.org. Popular Movies displays a grid of movie posters allowing you to load movie details by tapping on a poster. This app follows material design guidelines and Udacity project guidelines.

Implementation

Main

A RecyclerView with a GridLayoutManager is used to display images fetched from TheMovieDb API. Network calls are made in a background thread using RetroFit. A bottom navigation view is used to load movies by popularity, rating, or by favorite (from a Room database).

Movie Details

Tapping a grid icon will load a details screen. The layout is implemented using a ConstraintLayout. A loading indicator is shown while Picasso loads an appropriately sized poster image. Trailers and reviews are loaded for the video as well. Tapping on the play icon of one of the trailers will load YouTube (if available) or a web browser.

Build

To build this app, you'll have to add the following to your local gradle.properties:

API_KEY="<api key>"

Attribution

Licences