Skip to content

Category Archives: Kotlin

Kotlin is an open-source programming language. It is developed by JetBrains and is designed to be a modern, safe, and efficient language for building modern… Read More
In Kotlin, you can provide default values to parameters in a function definition. If the function is called with arguments passed, those arguments are used… Read More
AlertDialog in Android is an alert message programmatically displayed to the user over the change of course of action. This appears as a pop-up and… Read More
An anagram of a word is another word that contains the same characters, only the order of characters can be different. For example, “abcd” and… Read More
Kotlin gives us the power to declare high-order functions. In a high-order function, we can pass and return functions as parameters. This is an extremely… Read More
TextView is used to display text in Android. text can be characters, numbers, strings, and paragraphs. We can also display web URLs in the TextView.… Read More
A Button in Android is a UI element provided to a user to click to perform a certain action. A text can be set inside… Read More
Dots-Per-Inch or DPI is a measure of pixel density over the physical area on the screen. A pixel is the smallest unit of any screen… Read More
Data classes in Kotlin are classes created to do nothing but hold data. Such classes are marked as data: data class User(var firstname: String, var… Read More
There are a lot of scenarios in which we need to pass variable arguments to a function. In Kotlin, You can pass a variable number… Read More
In Android, there are multiple libraries that provide mathematical and logical functions to the developers to create meaningful applications. One such function is the random… Read More
Constructor is a concise way to initialize class properties. or we can say it’s a special member function that is invoked when an object of… Read More
A class is declared within another class then it is called a nested class. By default nested class is static so we can access the… Read More
Material Design Components (MDC Android) offers designers and developers a way to implement Material Design in their Android applications. Developed by a core team of… Read More
In recent years, every Android application has prioritized user experience. A well-designed app will have high user ratings and popularity. Many effects are available in… Read More

Start Your Coding Journey Now!