Image Credit: Photo by Md Imam Hossain (Author) If you write code in Kotlin, you’ve likely encountered the concept of Kotlin delegates, whether while using the by keyword to initialize a variable with a lazy block or obtaining a ViewModel instance via viewModels(). These are classic examples of Kotlin delegates. In this post, I’ll walk you through Kotlin delegates with …
Read More »