Open in app
Home
Notifications
Lists
Stories

Write
Tim Malseed
Tim Malseed

Home

May 20, 2021

Network error handling on Android, with Retrofit & Kotlin (Draft)

Note: 1.) This article may be outdated 2.) This is a draft Network Error Handling If you’re using Retrofit without RxJava or any other custom Call Adapters, when you enqueue a Call, you have to implement a callback for onResponse(), and another callback for onFailure(). onResponse() returns a HTTP response (200, 400, 500 etc) …

Android

3 min read

Network error handling on Android, with Retrofit & Kotlin (Draft)
Network error handling on Android, with Retrofit & Kotlin (Draft)
Tim Malseed

Tim Malseed

Software Engineer & proud developer of Shuttle Music Player

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable