Mgf8wvaxyp3ds5wjm8qh
SkillsCast

Making Retrofit 2 Work For You

27th October 2016 in London at Business Design Centre

There are 75 other SkillsCasts available from droidcon London 2016

Please log in to watch this conference skillscast.

601667588 640

Retrofit's recently-released version 2 is the easiest way to do HTTP in your applications. Once set up, Retrofit is designed to make declaring endpoints as simple as a method on an interface with annotations. Behind that simplicity, though, there is a lot of power and knowing how to use and configure it can make even the most problematic APIs easy to use.

This talk will focus on configuring three parts of Retrofit:

  • Endpoint declarations on interfaces which define how requests are created and sent and how their responses are read and parsed.

  • Serialization customization that goes beyond just choosing between JSON or Protocol Buffers.

  • Execution mechanisms which enable synchronous or asynchronous requests, integration with third-party libraries, and custom error handling.

You will not need no prior Retrofit experience, although the focus will specifically be on configuring and customizing its behavior.

YOU MAY ALSO LIKE:

Making Retrofit 2 Work For You

Jake Wharton

Android Framework engineer at Google working on Kotlin things. Has a long-time severe allergy to boilerplate code and for years has been raising awareness on the issue as well as leading efforts to eradicate this horrible disease that plagues modern developers.

SkillsCast

Please log in to watch this conference skillscast.

601667588 640

Retrofit's recently-released version 2 is the easiest way to do HTTP in your applications. Once set up, Retrofit is designed to make declaring endpoints as simple as a method on an interface with annotations. Behind that simplicity, though, there is a lot of power and knowing how to use and configure it can make even the most problematic APIs easy to use.

This talk will focus on configuring three parts of Retrofit:

  • Endpoint declarations on interfaces which define how requests are created and sent and how their responses are read and parsed.

  • Serialization customization that goes beyond just choosing between JSON or Protocol Buffers.

  • Execution mechanisms which enable synchronous or asynchronous requests, integration with third-party libraries, and custom error handling.

You will not need no prior Retrofit experience, although the focus will specifically be on configuring and customizing its behavior.

YOU MAY ALSO LIKE:

About the Speaker

Making Retrofit 2 Work For You

Jake Wharton

Android Framework engineer at Google working on Kotlin things. Has a long-time severe allergy to boilerplate code and for years has been raising awareness on the issue as well as leading efforts to eradicate this horrible disease that plagues modern developers.

Photos