Kotlin

Android System Design Interviews

Android System Design Interviews

Today, we are going to discuss everything about the Android System Design Interviews.

CoroutineContext in Kotlin

CoroutineContext in Kotlin

In this blog, we will learn about the CoroutineContext in Kotlin by going through the source code. We will also cover how to customize it.

Parcelable vs Serializable

Parcelable vs Serializable

In this blog, we will learn about the difference between Parcelable and Serializable. We will also learn how they work internally.

String vs StringBuffer vs StringBuilder

String vs StringBuffer vs StringBuilder

In this blog, we will learn about String, StringBuffer, and StringBuilder.

data class in Kotlin

data class in Kotlin

In this blog, we will learn about the data class in Kotlin. We will also learn how it works internally.

Extension function in Kotlin

Extension function in Kotlin

In this blog, we will learn about the extension function in Kotlin. We will also learn how it works internally.

remember vs rememberSaveable

remember vs rememberSaveable

In this blog, we will learn about the difference between remember and rememberSaveable in Jetpack Compose.

Launch vs Async in Kotlin Coroutines

Launch vs Async in Kotlin Coroutines

In this blog, we will learn about the Launch vs Async in Kotlin Coroutines.

callbackFlow - Callback to Flow API in Kotlin

callbackFlow - Callback to Flow API in Kotlin

In this blog, we will learn how to convert any Callback to Flow API in Kotlin using callbackFlow.

Difference between == and === in Kotlin

Difference between == and === in Kotlin

In this blog, we will learn about the difference between == and === in Kotlin.

StateFlow and SharedFlow

StateFlow and SharedFlow

In this blog, we will learn about the StateFlow and SharedFlow in Kotlin.

Cold Flow vs Hot Flow

Cold Flow vs Hot Flow

In this blog, we will learn about Cold Flow vs Hot Flow in Kotlin.

Unit Testing ViewModel with Kotlin Flow and StateFlow

Unit Testing ViewModel with Kotlin Flow and StateFlow

In this blog, we will learn how to write the unit test for ViewModel with Kotlin Flow and StateFlow.

How does the Kotlin Multiplatform work?

How does the Kotlin Multiplatform work?

In this blog, we will learn how the Kotlin Multiplatform works.

Mastering Kotlin Coroutines

Mastering Kotlin Coroutines

In this blog, we are going to master the Kotlin Coroutines in Android.

Callback to Coroutines in Kotlin

Callback to Coroutines in Kotlin

In this blog, we will learn how to convert any Callback to Coroutines in Kotlin.

Retry Operator in Kotlin Flow

Retry Operator in Kotlin Flow

In this blog, we will learn about the Retry Operator in Kotlin Flow.

Long-running tasks in parallel with Kotlin Flow

Long-running tasks in parallel with Kotlin Flow

In this blog, we will learn about how to run long tasks in parallel with Kotlin Flow in Android.

Retrofit with Kotlin Coroutines

Retrofit with Kotlin Coroutines

In this blog, we will learn how to use Retrofit with Kotlin Coroutines.

coroutineScope vs supervisorScope

coroutineScope vs supervisorScope

In this blog, we will learn about the coroutineScope vs supervisorScope of Kotlin Coroutines.

Retrofit with Kotlin Flow

Retrofit with Kotlin Flow

In this blog, we will learn how to use Retrofit with Kotlin Flow.

Room Database with Kotlin Flow

Room Database with Kotlin Flow

In this blog, we will learn how to use Room Database with Kotlin Flow.

crossinline in Kotlin

crossinline in Kotlin

In this blog, we will learn about the crossinline modifier in Kotlin.

inline function in Kotlin

inline function in Kotlin

In this blog, we will learn about the inline function in Kotlin.

noinline in Kotlin

noinline in Kotlin

In this blog, we will learn about the noinline modifier in Kotlin.

init block in Kotlin

init block in Kotlin

In this blog, we will learn about the init block in Kotlin.

Companion object in Kotlin

Companion object in Kotlin

In this blog, we will learn about the companion object in Kotlin.

lateinit vs lazy in Kotlin

lateinit vs lazy in Kotlin

In this blog, we will learn about the lateinit vs lazy properties in Kotlin.

Infix notation in Kotlin

Infix notation in Kotlin

In this blog, we will learn about the Infix notation in Kotlin. The Infix notation enables us to write code that looks much more like a natural language.

Open keyword in Kotlin

Open keyword in Kotlin

In this blog, we will learn about the open keyword in Kotlin.

Dispatchers in Kotlin Coroutines

Dispatchers in Kotlin Coroutines

In this blog, we are going to learn about the Dispatchers in Kotlin Coroutines including the types of Dispatchers available for use in Coroutines.

Mastering Flow API in Kotlin

Mastering Flow API in Kotlin

In this blog, we are going to learn what is Flow API in Kotlin. Kotlin provides many features out of the box that we can use to perform various tasks in our project.

JvmField Annotation in Kotlin

JvmField Annotation in Kotlin

In this blog, we are going to learn about the JvmField annotation in Kotlin.

JvmOverloads Annotation in Kotlin

JvmOverloads Annotation in Kotlin

In this blog, we are going to learn about the JvmOverloads annotation in Kotlin.

Avoid nesting by handling errors first

Avoid nesting by handling errors first

In this blog, we are going to learn one of the coding best practices which is how avoiding nesting by handling errors first increases the readability.

JvmStatic Annotation in Kotlin

JvmStatic Annotation in Kotlin

In this blog, we are going to learn about the JvmStatic annotation in Kotlin.

Advantage of using const in Kotlin

Advantage of using const in Kotlin

In this blog, we are going to learn about the advantage of using const in Kotlin.

partition - filtering function in Kotlin

partition - filtering function in Kotlin

In this blog, we will learn about the Kotlin filtering function - partition. It filters a collection by a predicate and keeps the elements that don't match it in a separate list.

AssociateBy - List to Map in Kotlin

AssociateBy - List to Map in Kotlin

In this blog, we will learn about the Kotlin Collection Functions - associateBy that converts a list into a map.

Remove duplicates from an array in Kotlin

Remove duplicates from an array in Kotlin

In this blog, we are going to learn how to remove duplicates from an array in Kotlin. As there are many ways to remove duplicates from an array in Kotlin, depending on the use case, we can decide which one to use.

Jetpack DataStore Preferences

Jetpack DataStore Preferences

In this blog, we are going to see why we need Jetpack DataStore Preferences, learn how to implement Jetpack DataStore Preferences in our Android application and how can we migrate our SharedPreferences to DataStore Preferences.

Kotlin Flow Zip Operator for Parallel Multiple Network Calls

Kotlin Flow Zip Operator for Parallel Multiple Network Calls

In this blog, we will learn about the Kotlin Flow Zip Operator and how to make multiple network calls in parallel using it.

Instant Search Using Kotlin Flow Operators

Instant Search Using Kotlin Flow Operators

In this blog, we will learn how to implement the instant search feature using Kotlin Flow operators in Android applications.

Creating Flow Using Flow Builder in Kotlin

Creating Flow Using Flow Builder in Kotlin

In this blog, we are going to discuss the different types of flow builders and how to create Flow using Flow Builder.

Exception Handling in Kotlin Flow

Exception Handling in Kotlin Flow

In this blog, we will learn about the Exception Handling in Kotlin Flow.

Terminal Operators in Kotlin Flow

Terminal Operators in Kotlin Flow

In this blog, we will learn about the Terminal Operators in Kotlin Flow.

suspend function in Kotlin Coroutines

suspend function in Kotlin Coroutines

In this blog, we will learn about the suspend function in Kotlin Coroutines.

Kotlin withContext vs Async-await

Kotlin withContext vs Async-await

In this blog, we will learn about the withContext and Async-await in Kotlin.

Room Database with Kotlin Coroutines

Room Database with Kotlin Coroutines

In this blog, we will learn how to use Room Database with Kotlin Coroutines.

Parallel Multiple Network Calls Using Kotlin Coroutines

Parallel Multiple Network Calls Using Kotlin Coroutines

In this blog, we will learn how to make multiple network calls in parallel using Kotlin Coroutines.

Unit Testing ViewModel with Kotlin Coroutines and LiveData

Unit Testing ViewModel with Kotlin Coroutines and LiveData

In this blog, we will learn how to write the unit test for ViewModel with Kotlin Coroutines and LiveData.

MVVM Architecture - Android Tutorial

MVVM Architecture - Android Tutorial

In this blog, we will learn about the MVVM architecture in Android.

Higher-Order Functions and Lambdas in Kotlin

Higher-Order Functions and Lambdas in Kotlin

This article is for anyone who is curious about the higher-order functions and lambdas in Kotlin but has no idea what they are exactly.