Book Image

Building Android RESTful Client Apps [Video]

By : Renaro Santos
Book Image

Building Android RESTful Client Apps [Video]

By: Renaro Santos

Overview of this book

<p>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.</p> <p>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.</p> <p>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.</p> <p>The code bundle for this video course is available at <a style="color: #fa8d11;" href="https://github.com/PacktPublishing/Buidling-Android-RESTful-Client-Apps" target="blank">https://github.com/PacktPublishing/Buidling-Android-RESTful-Client-Apps</a></p> <h1>Style and Approach</h1> <p>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.</p>
Table of Contents (5 chapters)
Chapter 5
Clean Architecture and Unit Tests
Content Locked
Section 1
What Is Clean Code and Why It Is So Important?
In this video, we will understand how to create code that is clean, testable, and maintainable. - Understand the benefits of having a clean architecture - Keep in mind the good practices of clean code - Go through the samples provided and try to apply in your own code