Giter Club home page Giter Club logo

movies's Introduction

Movies App

Simple Movies app , I will apply every architecture component on a separate branch with steps.


API Hints

To fetch popular movies, you will use the API from themoviedb.org. If you don’t already have an account, you will need to create one in order to request an API Key.

In your request for a key, state that your usage will be for educational/non-commercial use. You will also need to provide some personal information to complete the request. Once you submit your request, you should receive your key via email shortly after.


API Key Note

You need to insert your API key. Go to a file named Constants.java and find the value of API_KEY. Replace "test" with "YOUR-API-KEY".

public static final String API_KEY = "YOUR-API-KEY";

In order to request popular movies you will want to request data from the /movie/popular documentation. An API Key is required. Once you obtain your key, you append it to your HTTP request as a URL parameter like so: http://api.themoviedb.org/3/movie/popular?api_key=[YOUR_API_KEY]


Features

1- DataBinding
2- ViewModel
3- LiveData
4- Dagger2
5- Retrofit
6- Room
7- Android Architecture Components

1- DataBinding tutorial

The Data Binding Library is a support library that allows you to bind UI components in your layouts to data sources in your app using a declarative format rather than programmatically.


2- ViewModel tutorial

  • The ViewModel class is designed to separate out view data ownership from UI controller logic.
  • The ViewModel class allows data to survive configuration changes such as screen rotations using LiveDate.

3- LiveData tutorial

is an observable data holder class. Unlike a regular observable, LiveData is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments, or services. This awareness ensures LiveData only updates app component observers that are in an active lifecycle state.


4- Dagger2 tutorial

Dagger is a fully static, compile-time dependency injection framework for both Java and Android. It is an adaptation of an earlier version created by Square and now maintained by Google.


5- Retrofit tutorial

Type-safe HTTP client for Android and Java by Square, Inc.

For more information please see the website.


6- Room tutorial

Room provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.


7- Android Architecture Components tutorial

Android architecture components are a collection of libraries that help you design robust, testable, and maintainable apps. Start with classes for managing your UI component lifecycle and handling data persistence.


Screenshot

image


image


image

movies's People

Contributors

ahmedatefabd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.