English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 2h 42m | 623 MB
eLearning | Skill level: All Levels
Learn to access and consume RESTful APIs following the market’s best practices
Many successful apps such as Spotify, Google, and PayPal consume data from the internet and upload content. These apps mostly use RESTful APIs to communicate with a server through the HTTP protocol.
In this course, you’ll learn to create a Tinder-like client application in Android using Java libraries such as Retrofit and Gson to make sure your code is clean and testable. Moving on, you’ll learn to read and create JSON and use libraries to make your life easy. Then we’ll show you how to deal with the common errors that occur with REST APIs and how to use interceptors to intercept a request and log data and errors.
Finally, you’ll see the MVP architecture and implement its main features to create clean and testable code. By the end of this course, you’ll be able to build efficient Android applications that use RESTful services.
This course takes a practical approach, where you’ll learn by creating an app. We’ll teach you everything you need to know about creating a REST API client in Android using Java.
What You Will Learn
- Understand Android dependencies and libraries to create a REST client
- Create an API-based app with modern libraries such as Retrofit.
- Read JSON responses
- Error handling and debugging
- Build Clean and testable architecture for easy coding
01 The Course Overview
02 Download Project from Git
03 Exploring the UI and Setting Up Dependencies
04 Configuring Android Studio and IDE Tips
05 Quick Overview in the Sample App Code
06 What Is REST
07 Creating a REST Client in Android by Hand – Part One
08 Creating a REST Client in Android by Hand – Part Two
09 Creating a REST Client in Android Using Retrofit – Part One
10 Creating a REST Client in Android Using Retrofit – Part Two
11 What Is JSON
12 Reading and Creating JSON in Java
13 Using a Library to Read_Create JSON
14 Handling JSON within Retrofit
15 Commons Errors During HTTP Requests
16 How to Handle Request Errors in Android
17 How to Debug Request Calls Using Interceptors
18 Using Interceptors to Modify a Request
19 What Is Clean Code and Why It Is So Important
20 MVP Architecture – Model View Presenter
21 Implement the Voting Feature
22 Writing Unit Tests