Introduction

Retrofit is a networking library developed by Square that lets us make REST API calls. The library simplifies downloading JSON and XML responses from the APIs. It also simplifies interacting with both authenticated and unauthenticated API calls.

This lesson will teach us how to make network calls to fetch data from servers and consume that data in our Android applications.

Prerequisites

Before we get started with Retrofit, make sure that the internet permissions are granted to the application in the AndroidManifest.xml file.

Get hands-on with 1200+ tech skills courses.