© 2023 Hashnode
#kotlin
A variable refers to a memory location that stores some data.You can declare variables in Kotlin using the val and var keywords. val:A variable declared with the val keyword is read-only (immutable). It cannot be reassigned after it is init…
Kotlin fixes some of the Java issues. Null references are controlled by the type system. No raw types Arrays in Kotlin are invariant Kotlin has proper function types, as opposed to Java’s SAM-conversions Use-site variance without wildc…
What is libphonenumber? Libphonenumber is Google’s library for parsing, formatting, and validating international phone numbers in Java, C++, and JavaScript. That sounds interesting. So, I can use this…
Introduction In this demonstration, we’ll build a simple audio player with a play button. The button kickstarts our audio then switches to a pause button and displays a stop button. As we will only be using a single audio file, conventional…
GOOGLE LEMONADE APP Today I commence this challenge with a simple project by google TRAINING /ANDROID BASICS IN KOTLIN / KOTLIN BASICS The finished Lemonade app consists of a single screen. When users first launch the app, they're greeted w…
I am Amit Shekhar, a mentor helping developers in getting high-paying tech jobs. Before we start, I would like to mention that, I have released a video playlist to help you crack the Android Interview…
In this article, I will guide you on a step-by-step process on how to implement in-app purchases in your android project using jetpack compose. Step 1: Adding Dependencies After creating an empty compose project, add this dependency in your…
Introduction I'm guessing you are one of those who are tired of the limitations and verbosity of Java. What if I told you I have a cure for your ache? Because Kotlin is here to revolutionize the way y…
Hey Composers 👋🏻, The heart💚 of Jetpack Compose is a State that tells compose when to recompose UI. In the state management with compose, we can specify policies by which we can tell compose when e…
Room database is a part of Android Architecture components and provides an abstract layer over SQLite. Room makes it easy to work with databases and provides a convenient way to pre-populate the database with static data. Here’s how to pre-…