Future Studio Tutorials

Public tutorial on Thursday. Wednesday is only.

Retrofit 2 — Manage Request Headers in OkHttp Interceptor

You’ve already learned how to add custom request header using Retrofit. This post specifically touches the details on adding request headers using Retrofit 2 and the OkHttp interceptor. Interceptors are a good way to statically change requests executed with the specific service client which has the interceptor assigned. {{outline} …

Continue Reading

CoreOS — How to Set Up a Cluster

Last week we’ve learned about CoreOS’ components and technologies within the ecosystem. This week, we’re directly diving into the practical part and get our hands dirty. If you read the first post, you already know that CoreOS is an operating system geared towards high-availability. Setting up a cluster …

Continue Reading

Retrofit 2 — Log Requests and Responses

Retrofit 1 integrated a log feature for basic request and response debugging. The logging functionality was removed in Retrofit 2, since the required HTTP layer is now completely based on OkHttp. Since many developers asked for logging capabilities in Retrofit 2, the developers of OkHttp added a logging interceptor in …

Continue Reading

Retrofit 2 — How to Upload Files to Server

The previous tutorials guided you through various use cases of Retrofit and showed you opportunities to enhance the app with Retrofit’s built-in functionality. This tutorial will show you how to upload a file to a backend server using the second major release of Retrofit, namely Retrofit 2. {{outline}} {{video} …

Continue Reading

Android: How to Implement ProductFlavor-Dependent Dependencies with Gradle

A few weeks ago we published a post about setting different permissions for each productFlavor. Some requested if this is possible for dependencies as well, so here it is: in this blog post, we'll show you how to set up productFlavor-dependent dependencies. Related Posts Android: How to Implement ProductFlavor-Dependent Permissions …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.