© 2022 Hashnode
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…
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 …
Originally post on https://chetangupta.net/bbk8/ Hi, I’m back with another question, and it’s very common and easy. You might have done this zillions of times. Question: Write a program to reverse an …
Variable Variable, in general, is like the variable in mathematics you define it and store a value to use this value later in an equation, for example. In programming there's no difference, for a sim…
Setting Up the User Interface For Designing the UI of the App we will use Linear Layout Orientation of the Linear Layout will be vertical Code: <?xml version="1.0" encoding="utf-8"?> <LinearLayou…
kotlinx.coroutines.delay() is a suspend function. It doesn't block the current thread. Thread.sleep() blocks the current thread. It means other code in this thread won't be executed until Thread.sleep…
Before going into more details have a look at this. Prerequisite for Creating this : Android studio Installed in your pc. Now Let's start our project with full enthusiasm Step 1 : Create New projec…
Hey Droid-folks and Composers 👋, this is a mini-blog where we'll discuss improving the performance of Composables by taking care and promising some things to the Compose Compiler. Let's say you're co…