NohaSamir / PopularMovies

We will take the Movies Application in journey to Android Architecture component.
28 stars 8 forks source link

Movies Application

Simple Movies application , I will apply every architecture component on a separate branch with steps (Any beginner can follow me to learn all architecture component)


API Hints

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

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.

After generate your API key put it inside string.xml file

[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]


master Branch

Contain the final code


1-BaseProject Branch

Contain the source code of the application


2-DataBinding Branch 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.

Note: That DataBinding Branch contail all ToDo steps and DataBindingRseult Branch contain the final result without ToDo

you can accumulate on BaseProject branch and follow ToDo steps

3- ViewModel Branch tutorial

On This branch we will develop the first one and develop the second feature on LiveData branch

Note: you can accumulate on DataBindingRseult branch and follow ToDo steps

4- LiveData Branch tutorial

Note: you can accumulate on ViewModelRseult branch and follow ToDo steps

5- Repository Branch tutorial

Note: you can accumulate on LiveDataRseult branch and follow ToDo steps

6- PagingWithNetwork Branch tutorial

Note: you can accumulate on RepositoryRseult branch and follow ToDo steps

7- RoomDB Branch tutorial

Note: you can accumulate on RepositoryRseult branch and follow ToDo steps

8- Paging(Local+Network) Branch tutorial

Note: you can accumulate on RoomDBRseult branch and follow ToDo steps

9- Testing

Note: you can accumulate on RepositoryRseult branch and follow ToDo steps