Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 2 KB

Entrance_Test_2.md

File metadata and controls

46 lines (38 loc) · 2 KB

This test is designed for students who have learnt Android before. Duration: 1 week.

Requirements:

{
id: 76341,
original_language: "en",
original_title: "Mad Max: Fury Road",
overview: "...",
release_date: "2015-05-15",
poster_path: "/kqjL17yufvn9OVLyXYpvtyrFfak.jpg",
popularity: 52.43451,
title: "Mad Max: Fury Road",
video: false,
vote_average: 7.8,
vote_count: 1418
...
}

Notes:

  • Image url of the movie poster will be constructed in this way: http://image.tmdb.org/t/p/w154/{poster_path} (ex: http://image.tmdb.org/t/p/w154/kqjL17yufvn9OVLyXYpvtyrFfak.jpg)

  • The release date of the movie will be in this format yyyy-MM-dd.

  • vote_average is the rating of the movie.

  • Implements the UI below in an activity named MovieListActivity

layout.png

  • The title of the movie must be bold and we use original_title value, the movie name should be displayed in one line. If the name is too long, truncate the last part with “...”.
  • Tapping on each item will show the icon at the top left corner of movie’s poster. Tap on that item again will hide this icon. When user first comes to this screen, all items will be in unselected state.
  • WATCH NOW label will only be shown if the movie has been released for over 3 months (use {release_date} field for this checking).
  • Provided icons can be downloaded from here

Bonus:

Show an edit text at the top of the list above, typing on the edit text will filter the movies list based on name.

References