Skip to content

🎥 Popular Movies Stage 1. Discover the latest popular and top rated movies. MVVM + Retrofit + Paging library + AAC

License

Notifications You must be signed in to change notification settings

YassinAJDI/popular-movies-part1

Repository files navigation

Stage 2 available here: https://github.com/YassinAJDI/PopularMovies

Popular Movies Stage 1

Popular Movies is created as a part of Udacity Android Developer Nanodegree Program, is an app which helps you to discover the latest popular and top rated movies. You can flip through movie posters, check movie details. The application fetches movie data using themoviedb.org API.

Screenshots

Features

  • Discover the most popular and the most rated movies
  • MVVM with Android Architecture Components
  • Pagination and endless scrolling using Android paging library.
  • Handle network status and network failures
  • Material design.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Android Studio 3.2 stable
  • Java JDK

Installing

Follow this steps if you want get a local copy of the project in your machine.

1. Clone or fork the repository by running the cammand below

git https://github.com/YassinAJDI/popular-movies-part1.git

2. Import the project in AndroidStudio, and add API Key

  1. In Android Studio, go to File -> New -> Import project
  2. Follew the dialog wizard to choose the folder where you cloned the project and click on open.
  3. Androidstudio imports the projects and builds it for you.
  4. Add TheMovieDb API Key inside gradle.properties file.
TMDB_API_KEY="Your API Key here"

Libraries

  • AndroidX - Previously known as 'Android support Library'
  • Glide - An image loading and caching library for Android focused on smooth scrolling
  • Retrofit 2 - Type-safe HTTP client for Android and Java by Square, Inc.
  • Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
  • LiveData
  • ViewModel
  • Paging - The Paging Library makes it easier for you to load data gradually and gracefully
  • DataBinding
  • OkHttp

License

MIT License

Copyright (c) 2018 Yassin Ajdi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Releases

No releases published

Packages

No packages published

Languages