In this Popular Movies project, the app was built in two stages. In Stage 1,
- Upon launch, the user is presented with an grid arrangement of movie posters.
- Allowed the user to change sort order via a setting:
- The sort order can be by most popular, or by top rated
- Allowed the user to tap on a movie poster and transition to a details screen with additional information such as:
- original title
- movie poster image thumbnail
- a plot synopsis (called overview in the api)
- user rating (called vote_average in the api)
- release date
In Stage 2, Additional functionality was added to the app that was built in Stage 1.
More information added to the movie details view:
- Users allowed to view and play trailers ( either in the youtube app or a web browser).
- Users allowed to read reviews of a selected movie.
- Users allowed to mark a movie as a favorite in the details view by tapping a button(star). This is for a local movies collection that is maintained and does not require an API request.
- Modified the existing sorting criteria for the main view to include an additional pivot to show the user's favorites collection.
- Clone this repository on your local machine:
https://github.com/douggharvey/PopularMovies.git
-
Open Android Studio and open the project from
File > Open...
-
Obtain a developer API key from The Movie DB API.
-
Enter the API key in the project
gradle.properties
file with syntax:API_KEY="your api key"
- Java
- Android Support Libraries
- Picasso
- Butterknife
- MaterialFavoriteButton
- JDK 1.8
- Android SDK
- Android O (API 27)
MIT license Copyright 2018 Douglas Gordon Harvey