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.
Android — Send live audio stream from client to server using WebSocket and OkHttp client
A long time back, I was looking for a solution to send a live audio stream from an android device to a backend server. After lots of effort, I finally made it work.
In this article, you will learn how to stream live audio from client to server using OkHttp client & WebSocket.
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.