In this post we will learn building a complex list for our Android Application. In other words we will be building a RecyclerView with Multiple View Types. Most of the times in our android application we show a List. And sometimes it is needed that we want a list that …
Read More »Android Hilt Tutorial – Injecting Dependencies with Hilt – Android Coding by DMTechnolab
You are welcome Android Hilt tutorial. I hope you all are aware of it Dependency injection. We use a lot of dependencies when building applications (or Android applications). Now you can manage all dependencies yourself (and you can manage it in advance if you are not using Dependency Injection). But …
Read More »Android Espresso Tutorial – Testing Fragment in Isolation – Android Coding by DMTechnolab
Welcome to another tutorial in the Android test series. And this post is called Android Espresso Tutorial which means that we are now moving to UI testing. Espresso is a test framework for writing automated UI tests for your Android application. With Espresso, we can simulate user interaction in our …
Read More »Android ViewModel Unit Test Tutorial – Android Coding by DMTechnolab
Hi guys welcome Android ViewModel Unit Test Tutorial. This post is also part of our Android test series. In this post, we will learn how to test our ViewModels. So far, we have learned how to write unit tests JUnit4 And using the instrumented unit test AndroidJUnit4. We also learned …
Read More »Android Unit Test Tutorial – Writing Your First Unit Test – Android Coding by DMTechnolab
Hey guys, so you can write or code Android apps. But do you test them? Yes, I know that everyone compiles and watches the app, whether it is working or not. But do you write code to test? Do you test every function and every module? If you know your …
Read More »Retrofit Authenticator Refresh Token Tutorial – Android Coding by DMTechnolab
Ever heard of the latest token? The 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 tokens. And refresh token means getting a new access token with the help …
Read More »Picasso Android Tutorial – Android Picasso Image Loader Library – Android Coding by DMTechnolab
Hello friends, today we will learn how we can use picasso android Library developed by Trap. Picasso one of the most popular library for Android. It is a very simple and powerful library for image downloading and caching. There are also some alternative libraries such as Volley. I have already …
Read More »JavaScript Sprite Animation Tutorial using HTML5 Canvas – Android Coding by DMTechnolab
From a long time I am posting only about Android. So today I came up with a new interesting tutorial. In this post we will learn JavaScript Sprite Animation. You may have seen JavaScript Sprite Animation many times. All the 2d animations you see in the web most of them are …
Read More »Android Paypal Integration Tutorial – Android Coding by DMTechnolab
<?xml the version=“1.0” Encoding=“utf-8”?> <Relativism xmlns:Android=“http://schemas.android.com/apk/res/android” xmlns:equipment=“http://schemas.android.com/tools” Android:Layout_process=“match parent” Android:Layout_height=“match parent” Android:padding bottom=“@Dimen / activity_vertical_margin” Android:padding left=“@Dimen / activity_horgen_marin” Android:Paddingright=“@Dimen / activity_horgen_marin” Android:padding top=“@Dimen / activity_vertical_margin” equipment:The reference=“net.simplifiedcoding.paypalintegration.ConfirmationActivity”> <Table list Android:Layout_process=“match parent” Android:Layout_height=“wrap content” Android:Layout_centwork=“True” Android:Layout_alignParentLeft=“True” Android:Layout_alignParentStart=“True”> <Text view Android:Layout_process=“wrap content” Android:Layout_height=“wrap content” Android:The text=“Payment amount:” /> <Text view Android:Id=“@ …
Read More »Firebase Cloud Messaging Tutorial for Android – Android Coding by DMTechnolab
Push notifications are apparently an essential thing in Android Application. It helps us gaining user retention, increasing active user, etc. To send a push notification to all our app users, we can use Firebase Cloud Messaging. We can send some promotional as well as regular information using Firebase Cloud Messaging (or …
Read More »