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)
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
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]
Contain the final code
Contain the source code of the application
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
On This branch we will develop the first one and develop the second feature on LiveData branch
The Paging Library helps you load and display small chunks of data at a time. Loading partial data on demand reduces usage of network bandwidth and system resources.
This guide introduce paging from network only, Later we will introduce paging from local + network
Room save data in a local database . Room provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.
This guide introduce room without paging, Later we will introduce paging from local + network
The Paging Library helps you load and display small chunks of data at a time. Loading partial data on demand reduces usage of network bandwidth and system resources. example
This guide introduce paging from local + network