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
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.
Find why and how choosing the proper architectural style can make your life easier.
Keylines of the podcast:
What is web service?
What is GraphQL?
What is Rest?
Does GraphQL replace REST?
How to start development in GraphQL and in REST?
Is GraphQL relies on Frontend or Backend?
Conclusion
This podcast will guide you on which is the best choice, REST OR GraphQL, and with which you should go.
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.