© 2022 Hashnode
In my previous blog post Chopping the monolith, I explained my stance on microservices and why it shouldn't be your golden standard. However, I admitted that some parts of the codebase were less stabl…
In my Last post I explained how to create a custom toast. In this post I will explaining how to make a the toast clickable. I will be creating a brand new toast, so lets begin. GET STARTED Open your …
In Kotlin, you can use the object declaration to implement singleton. However, if you don't aware of this object keyword, you probably will do something like this. Conventional Singleton class Singlet…
In this project I will be explaining how to make a recycler view adapter, with click and long click listener. But before we start, create a project and name it RecyclerExample or anything you want. We…
1. Introduction Suppose you have developed a bus passenger management application and you would like to write some automated tests to check if your code is robust. The Bus class looks like this data c…
Kotlin added the idea of Context Receivers in version 1.6.20. In this post, I'd like to toy with them to understand how useful they can be. Note that if you want to play along, you'll need to compile with the -Xcontext-receivers flag. The m…
When we talk about the restricted class inheritance we refer to two distinct features namely Sealed Classes and Interfaces and this provides more control over an inheritance. Think of a father wanting…
Originally Posted on https://chetangupta.net/strings/ In any Programming languages to perform any kind of computation you always work with Numeric(Int, float, double etc), Boolean and Strings kind of …
Testing is quite a fascinating topic in software development. On the one hand, writing tests takes time, and it might not feel as rewarding - you cannot show a test to a client as you can a new featur…
Introduction: Hey Android Floks! I am Rohit Jakhar, Native Android Developer having 2+ year experience.Welcome again in series on Kotlin which Named is Kotlin BreakDown. I will breakdown some Kotlin …