Skip to content

Android dummy app using lists, fragments, TMDB api, etc

Notifications You must be signed in to change notification settings

khalea/MovieFragments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

MovieFragments

This is a basic (my first, yay!) Android app using lists, fragments, and the TMDB api to search for movies.

Demo

Featured movies are shown on the 'homepage' in a horizontally scrolling card view. You can click on a card to view more details about the movie. Using the search in the toolbar, you can find details on more movies as well.

Note: I've recorded this multiple times, but for some reason, the Android emulator recorder doesn't capture when I open the Tenet card & look at it for a few seconds... it only displays for a split second 🤔. In any case, it looks no different than the other detail views.

Intro & Components

  • RecyclerView + MovieRVAdapter -> The list & respective adapter that handles binding & displaying data in their respective rows.

  • DetailFragment -> A detail view that expands info about a movie selected from the RecyclerView.

  • MovieAPI -> Class that aids in interacting with TMDB. Uses the Volley Library to gather movie data.

  • MovieContent -> Movie Object class, plus a bootlegged way to store data. 😅

Known issues

  • Ratings in the detail views show 10 stars instead of 5
  • First batch of search results loads in twice (verified in logcat)
  • Searches with 1 page of results will scroll infinitely (add check on "total_pages")

Remaining TODOs

  • Load in movie posters
  • Add pagination for results
  • Auto-refresh RecyclerView
  • Search autocomplete
  • Search history
  • Interaction/animation/notif when no results are found

About

Android dummy app using lists, fragments, TMDB api, etc

Topics

Resources

Stars

Watchers

Forks