Showing Posts From

Android

Understanding Thread Pool Executor in Java

Understanding Thread Pool Executor in Java

Kotlin coroutines enables us to write asynchronous code in a sequential way with help of suspend fun ...

Kotlin Coroutines: Understanding launch{} vs async{}

Kotlin Coroutines: Understanding launch{} vs async{}

When working with Kotlin coroutines, choosing between launch{} and async{} builders is a common deci ...

Kotlin Coroutines Internals: How CPS and State Machines Power suspend Functions

Kotlin Coroutines Internals: How CPS and State Machines Power suspend Functions

As Android developers, we’ve all worked with different ways of handling asynchronous tasks, whether ...

Java Annotation Processing: The Compile-Time Magic You Should Know

Java Annotation Processing: The Compile-Time Magic You Should Know

If you've used Dagger in your Android projects, you've likely used @Inject, @Module, or @Component a ...

How Retrofit Uses Java Dynamic Proxy to Create API Magic

How Retrofit Uses Java Dynamic Proxy to Create API Magic

Retrofit is a type-safe HTTP client for Android and Java. You just define interfaces, and it generat ...