Easter Egg

In AndroidPub. More on Medium.

Every time I look at Kotlin, there is always something new which I find or a more sugary way for tedious way in Java. It’s like complete language is an easter egg, LOL!

Easter Eggs

Today with this article I intend to share these small but interesting and really useful functions.

let function

let is an extension function for all types of objects. simple scoping function. It lets you declare a variable for a given scope. It is mainly used for 2 purposes:

AndroidPub

The (retired) Pub(lication) for Android & Tech, focused on Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store