jetpack-compose
-
6 steps to make a “Slide to unlock” button in Jetpack Compose

I recently had the opportunity to work on a custom “Slide to Book” button for one of my projects and since this was my first time implementing a swipe-to-action animation in Jetpack Compose, I thought I’d share the learnings and breakdown the implementation. This button allows the user to drag a slider thumb horizontally to Continue reading
-
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
-
5 steps to use Paging3 library with Jetpack Compose

I had a chance to work with the Paging 3 library, along with Jetpack Compose. This guide shares some of the basics of the paging library, along with a guide on how to implement it in any android app that is using Jetpack Compose. So I chose to build a demo news feed app to Continue reading
-
Android Interview Questions – Part 8 (Android architecture)

This is Part 8 of the android interview question series. This part will focus on Android architecture. 1. Can you explain the MVC and MVP patterns? What are the main differences and why are they not used in Android development? 2. What is MVVM architecture in android? MVVM (Model-View-View Model) architecture: MVVM leverages ViewModel, a 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
-
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
