Jetpack Compose Bottom Navigation Bar

Hi Coders, in this post, we will learn to create Jetpack Compose Bottom Navigation Bar. Declarative UI design is a hot topic nowadays. And the android team also came up with Jetpack Compose, which will help us accelerate UI development. I’ve created a complete Jetpack Compose Crash Course from scratch that you should check out. …

Read moreJetpack Compose Bottom Navigation Bar

Android Hilt Tutorial – Injecting Dependencies with Hilt

Android Hilt Tutorial

Welcome to Android Hilt Tutorial. I hope you all are aware of Dependency Injection. While building an application (or android application) we use a lot of dependencies. Now you can manage all the dependencies yourself (And you may already managing it if you aren’t using Dependency Injection). But using Dependency Injection Pattern has many benefits …

Read moreAndroid Hilt Tutorial – Injecting Dependencies with Hilt

Android Espresso Tutorial – Testing Fragment in Isolation

Android Espresso Tutorial

Welcome to another tutorial in the Android Testing Series. And this post is called Android Espresso Tutorial that means we are now moving to UI Testing. Espresso is a Testing Framework for writing Automated UI Tests for your Android Application. With espresso, we can simulate the user interaction in our application; its the same as …

Read moreAndroid Espresso Tutorial – Testing Fragment in Isolation

Android ViewModel Unit Test Tutorial

Android Unit Test ViewModel

Hi Guys, welcome to Android ViewModel Unit Test Tutorial. This post is also part of our Android Testing Series. In this post, we will learn how to test our ViewModels. So far, we have learned about writing Unit Tests using JUnit4 and Instrumented Unit Test using AndroidJUnit4. We also learned writing tests for Room Database. Now, …

Read moreAndroid ViewModel Unit Test Tutorial

Android Unit Test Room Database – Testing Room DAOs

Android Unit Test Room Database Thumb

In the last post, we learned about Writing The First Unit Test in our Android Project. Now it’s time to level up the things a little. This post’s title is “Android Unit Test Room Database”; we will focus on testing the room database this time. I guess what you usually do is you write your database …

Read moreAndroid Unit Test Room Database – Testing Room DAOs