kotlin
-
Android Interview Questions – Part 1 (Android basics)

A series of interview questions that I have accumulated over the years in preparation for my many Android Interviews Prep. This is Part 1 of the android interview question series. This part will focus on Android basics. 1. What is the Android Application Architecture? Android application architecture has the following components: 2. What is the Application Continue reading
-
5 steps to create a Contacts app using Jetpack Compose

I recently had a chance to learn more about Jetpack Compose. As part of that, I created my first app using Compose: a Contacts app. It has a single screen, which displays a list of contacts from your phone in alphabetical order, with a sticky header. I couldn’t find anything similar to what I was Continue reading
-
5 minute guide on understanding Hilt annotations

Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project. It is built upon the well-established Dagger2 library. Hilt annotations are special words or phrases that are used to help the Hilt library work properly in an Android project. This guide shares some of the Continue reading
-
4 minute guide on adding dependencies using Version Catalogs

If you have created a new EmptyActivity project in Android Studio recently, you will notice that the build.gradle.kts files look a lot like this. And we have a new file called libs.versions.toml . Introducing Version Catalogs This is because gradle introduced Version Catalogs in version 7.0 and this has become a default for new Android Studio projects. Continue reading
-
Kotlin Flows — Fundamentals

I’ve been looking more into Kotlin coroutines last week. The previous article focused on some of the fundamentals of coroutines such as CoroutineContext, CoroutineScope, Coroutine Builder etc. As promised, this is a follow up to that on Flows. What are Flows? A stream of data that can be computed asynchronously is referred to as a Flow . Continue reading
