Kotlin KeywordsKotlin is a modern programming language that was first introduced by JetBrains in 2011. Since then, Kotlin has gained a lot of popularity among developers due to its concise syntax, null safety, and interoperability with Java. One of the most importa...3 min read路blog.mansi.devApr 26, 2023
Using Scoped Functions in Kotlin - let, run, with, also, applyNow that almost all Android developers have switched from Java to Kotlin, they are finding how much easier, cleaner, and more concise Kotlin is than Java. Kotlin introduces a number of developer-friendly features for less code, reducing the number of...4 min read路blog.mansi.devMar 22, 2023
lateinit vs lazy in KotlinIn this blog, we will learn about the lateinit vs lazy properties in Kotlin. In Kotlin, there are two ways to initialize a property that is not available at the time of object creation: lateinit and lazy. Both of these keywords allow you to postpone ...3 min read路blog.mansi.devMar 8, 2023
Difference between AndroidViewModel and ViewModelIn this blog, we will discuss the difference between AndroidViewModel and ViewModel. In the Android Jetpack architecture components, ViewModel and AndroidViewModel are two classes that are used to manage UI-related data across configuration changes. ...3 min read路blog.mansi.devFeb 23, 2023
How to Make the Firebase Database SDK Work Better With KotlinIn this article, we are going straight to the point. 馃殌 I want to share some extension functions to make your experience with the Firebase Database a little more comfortable with Kotlin. We are going to make reusable code that is also going to avoid ...4 min read路blog.mansi.devFeb 13, 2023