Unless you’re a Multimillion or a Billion dollar company, you probably don’t have a multimillion-dollar ad budget or professional Spinners.
Your product needs to stand out on its own merits like More
Retrofit — Effective error handling with Kotlin Coroutine and Result API
Error handling is important, but if it obscures logic, it’s wrong.
What are retrofit call adapters used for?
How does CallAdapter work?
In this article, you will learn how can we do effective error handling with Kotlin Coroutine and Result API
Custom callAdapter in retrofit allows us to filter out various API error responses at a centralized level which reduces boilerplate code effectively. We will create our own Retrofit callAdapter to handle the API call Success and Error states.
We will use Kotlin Result API consistently in the whole application as a response of API calls.
You can find the full code of this project on github.
How to integrate the flutter app into the existing android app?
Today you will learn how to add Flutter views to android native components like activity or fragment.
With the add-to-app feature, we can add flutter UI to our existing app, as it’s not always possible to migrate the whole app into Flutter all at once. We can add the Flutter project as a library or module to our Native app.