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

Android Unit Test Tutorial – Writing Your First Unit Test

Android Unit Test Tutorial

Hey folks, so you can write or code android apps. But do you test them? Yeah, I know everyone compiles and sees the app, whether it is working or not. But do you write code to test? Do you test every function and every module?. If your answer is NO then, this Android Unit Test …

Read moreAndroid Unit Test Tutorial – Writing Your First Unit Test

Android View Binding or Data Binding? [2 easy use cases]

Android View Binding or Data Binding

That question has certainly outlived its time in android development. With Kotlin synthetics deprecated now is also gaining popularity. Ever since Data Bindings introduction developers were very happy about it and some developers like me were a little bit confused with questions like. What is the difference between View Binding and Data Binding? What should …

Read moreAndroid View Binding or Data Binding? [2 easy use cases]

Retrofit Authenticator Refresh Token Tutorial

Retrofit Authenticator Refresh Token

Ever heard about Refresh Token? Refresh token can get you a new access token, without prompting the user to login again. In this post we will learn how you can use Retrofit Authenticator to Refresh Token. And refreshing token means getting a new access token with the help of refresh token. Building Backend API Now, …

Read moreRetrofit Authenticator Refresh Token Tutorial

Circular Progress Bar Android Tutorial [4 Easy Steps]

Circular Progress Bar Android

Welcome to Circular progress bar android Tutorial. In android development Progress bar is widely used and in many forms but one that is arguably the most loved is “Circular Progress bar with text”. If you have been in android development for even a couple of months you have at-least once wondered how can I get …

Read moreCircular Progress Bar Android Tutorial [4 Easy Steps]

Android AsyncTask is Deprecated: Here’s another way

android asynctask deprecated

If you are into android development then I am pretty sure that you know about Android AsyncTask. The AsyncTask class helped us in executing some code in the background thread. With the help of AsyncTask we can execute something on the background thread and get the result back in the UI thread. If you want …

Read moreAndroid AsyncTask is Deprecated: Here’s another way

Android Request Permission at Runtime Example

Android Request Permission at Runtime Example

Today we will see a simple Android Request Permission at Runtime Example. We have already covered this topic before. But the previous way of requesting permissions in runtime is obsolete. In this post, we will see the most updated way of requesting runtime permission. You can also check the old way of requesting runtime permissions. But …

Read moreAndroid Request Permission at Runtime Example