hilt
-
5 steps to implement MVI architecture with Jetpack Compose

I worked on a simple Notes app recently to get to understand MVI architecture a bit more and I thought I’d share my learnings here. MVI (Model-View-Intent) is an architectural pattern used in Android development for building user interfaces in a way that is predictable, testable, and maintainable. MVI is built on three main concepts: Continue reading
-
Android Interview Questions – Part 7 (Jetpack Compose)

This is Part 7 of the android interview question series. This part will focus on Jetpack Compose. 1. What is Jetpack Compose? Jetpack Compose is Android’s recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Jetpack Compose is declarative programming, which means you can describe your user interface by invoking a set Continue reading
-
Android Interview Questions – Part 6 (Kotlin Flows)

This is Part 6 of the android interview question series. This part will focus on Kotlin flows. 1. What is Flow? A stream of data that can be computed asynchronously is referred to as a Flow . It allows you to emit multiple values over time in a sequential and reactive manner. Some key characteristics of Flow: Continue reading
-
Android Interview Questions – Part 5 (Kotlin Coroutines)

This is Part 5 of the android interview question series. This part will focus on Kotlin coroutines. 1. What are coroutines? Coroutine stands for cooperating functions. They provide a more efficient and readable way to handle asynchronous tasks. It is similar to a thread, in that it takes a block of code to run that works concurrently Continue reading
-
Android Interview Questions – Part 4 (Kotlin Basics)

This is Part 4 of the android interview question series. This part will focus on Kotlin basics. 1. What is Kotlin? Kotlin is a modern programming language that runs on the Java Virtual Machine (JVM). This means Kotlin is fully compatible with Java, allowing you to use it alongside existing Java code seamlessly. 2. What Continue reading
-
Android Interview Questions – Part 3 (Java Basics)

This is Part 3 of the android interview question series. This part will focus on Java basics. 1. Why is Java said to be platform independent? The execution of the code does not depend upon the OS. 2. Difference between ‘throw’ and ‘throws’ in Java Exception Handling? throw keyword is used to throw Exception from any method or static block whereas throws is used to indicate that which Exception can possibly be thrown by this method. 3. Is there ever a Continue reading
-
Android Interview Questions – Part 2 (Android experts)

This is Part 2 of the android interview question series. This part will focus on Android experts. It will cover topics such as Android architecture components, build process in Android, unit testing in Android and debugging tools available in Android. 1. What are Android Architecture Components, and why are they useful? Android Architecture Components are 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
