Learning Paths

Learn with guidance and skyrocket in a predefined path with hand picked tutorials

Are you feeling overwhelmed by the amount of tutorials we offer? No worries, our learning paths will lead you step-by-step through a hand crafted series of tutorials. You don’t have to find the next tutorial to level up your knowledge, we’ve already laid everything out for you!

Beginner Path

Retrofit Basics

For Retrofit beginners: get your feet wet and dive into the details

In this learning path you’ll learn how to setup your first Retrofit request, how to interact with an API, how to convert XML and JSON payloads, various parameters and more. If you’re new to Retrofit, this is the learning path for you!

Getting Started and Creating an Android Client

Learn the basics of Retrofit and create your first Android client for API or HTTP requests. You'll get an overview over Retrofit, add necessary dependencies to your build, and implement a demo request to the GitHub API.

Basics of API Description

Learn in detail how to describe all kinds of API endpoints in Retrofit.

Creating a Sustainable Android Client

Get to know our implementation of a clean, stable and sustainable Android client: the ServiceGenerator.

Synchronous and Asynchronous Requests

Learn how to perform the actual requests in either way: synchronous or asynchronous. We'll also show you the implications of using the synchronous requests on Android.

URL Handling, Resolution and Parsing

Retrofit handles the relationship between API base URL and request endpoint URL in a logical manner. You'll learn in detail how Retrofit assembles complete URLs.

Send Objects in Request Body

Learn how to define and send Java objects in an HTTP request body with Retrofit.

Introduction to (Multiple) Converters

Get to know all provided standard converters and how to use them for mapping from and to various standard formats.

Adding & Customizing the Gson Converter

Learn how to integrate and customize the Gson converter to map all of your JSON request and responses automatically.

How to Integrate XML Converter

Still using XML for REST? Learn how to integrate an XML converter to map HTTP responses from XML to Java (and vice versa).

Log Requests and Responses

You want to know what exactly Retrofit is receiving and sending to your server? Learn how to add a logging interceptor to your Android app.

Optional Query Parameters

Learn how to use Retrofit to add optional query parameters to your requests.

Optional Path Parameters

Learn how to use optional path parameters to refine your request for single or multiple values.

Add Custom Request Header

Does your API require you to send the same header on every request? Do you want to fine tune caching? Learn how how to add custom headers to your requests.

Send Data Form-Urlencoded

Learn how to annotate your service interface to execute form urlencoded requests using Retrofit.

How to Upload Files to Server

Does your app allow photo or video upload? Learn how to upload files to a server using Retrofit.