The user is expected to land on this page every time the app is opened. Home page consists of 4 tabs that lists movies as listed below,
- Now Playing
- Popular
- Top Rated
- Upcoming
Use Genre API to fetch the list of available genres and store them locally to map them to the movie objects before displaying the data
https://api.themoviedb.org/3/genre/movie/list
Backdrop, Poster image paths can be loaded using any image loading library by prefixing the path with https://image.tmdb.org/t/p/original
Path -> /ysJte1iqN8pFQ470tumnViB1wHP.jpg Image URL -> https://image.tmdb.org/t/p/original/ysJte1iqN8pFQ470tumnViB1wHP.jpg
- Endless scrolling to be enabled on each page, {page} param can be modified on the API to get results for different pages
- Each movie card should be designed to show information such as, poster, title, genre, release date (dd/mmm/yyyy), vote average and vote count
- Clicking on a movie card should redirect the user to the movie details page
Use the following API to get the movie details for a given {movie-id} https://api.themoviedb.org/3/movie/{movie-id}
- The details page is expected to have detailed information about the movie such as, backdrop, poster, title, tagline, overview, genre, release date (dd/mmm/yyyy), vote average, vote count, spoken languages and status in a user-friendly design
- The details page should provide a CTA for the user to mark a movie as favourite
The home page toolbar or any other CTA should enable the user to search across movies for a given {query}. Note: This is not a category specific search and it is outside the scope of the home page Use the following API to perform the search operation https://api.themoviedb.org/3/search/movie?query={query}&page=1
- Endless scrolling to be enabled on each page, {page} param can be modified on the API to get results for different pages
- Each movie card should be designed to show information such as, poster, title, genre, release date (dd/mmm/yyyy), vote average and vote count
- Clicking on a movie card should redirect the user to the movie details page
Design and develop a page to list all the movies that were favourited by the user from the movie details page This page should involve fetching the data from a local data source (preferably Room)
- Each movie card should be designed to show information such as, poster, title, genre, release date (dd/mmm/yyyy), vote average and vote count
- Clicking on a movie card should redirect the user to the movie details page
https://developers.themoviedb.org/3/getting-started/introduction