This is an App made for Udacity Android Nanodegree Project 2. Its an Android app to browse the Top Rated and Popular Movies. We can also save our favorite movies and access them offline without internet. This app uses an API provided by https://www.themoviedb.org/. It is made with latest Android Architecture Components like LiveData, ViewModel and Room. It uses Retrofit with LiveDataCallAdapter for Network Calls and uses Dagger2 with Activity Injector for Dependency Injection. All the layouts are designed using Constraint Layout.
- Browse through the Top Rated and Popular Movies
- Offline access to movies list
- Caches data from Room Database (Refreshes every 60 minutes from Network)
- UI optimized for potrait and landscape
- Add movies to favorite and access them offline
- Design inspired from Pinterest
The app uses themoviedb.org API to get movie information and posters. You must provide your own API key in order to build the app.
If you do not have a gradle.properties file, create one
- Change you Android view to Project file in the directory
- Right click > New > File
- Put the name as gradle.properties
Now paste THE_MOVIE_DB_API_KEY="your-api-key-here" in the gradle.properties file
Build the project and Run
- Android Architecture Components
- ButterKnife
- Dagger2
- Retrofit2
- Glide
- Glide Transformations
- Android Debug Database
- Constraint Layout
- FlowLayoutManager
Copyright 2018 Debajyoti Basak Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.