Skip to content
arif-banaiPublic

About

View movies and their trailers using the Open Movie Database API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Flix Part 2

User Stories

REQUIRED (10pts)

  • (8pts) Expose details of movie (ratings using RatingBar, popularity, and synopsis) in a separate activity.
  • (2pts) Allow video posts to be played in full-screen using the YouTubePlayerView.

BONUS

  • Trailers for popular movies are played automatically when the movie is selected (1 point).
    • When clicking on a popular movie (i.e. a movie voted for more than 5 stars) the video should be played immediately.
    • Less popular videos rely on the detailed page should show an image preview that can initiate playing a YouTube video.
  • Add a play icon overlay to popular movies to indicate that the movie can be played (1 point).
  • Apply the popular ButterKnife annotation library to reduce view boilerplate. (1 point)
  • Add a rounded corners for the images using the Glide transformations. (1 point)

App Walkthough GIF


Notes

I ran into trouble trying to replace the YouTubePlayerView with an ImageView if there was no trailer for the movie on Youtube. I attempted to have both views in the layout at the same time, one above the other (visually), and then change the visibility of the views appropriately. If there was a trailer on youtube, the ImageView would be invisible, and if their wasn't, the ImageView would be visible. However, this made the application crash.

Open-source libraries used

  • Android Async HTTP - Simple asynchronous HTTP requests with JSON parsing
  • Glide - Image loading and caching library for Android

About

View movies and their trailers using the Open Movie Database API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages