90

Learn in 2 minutes: @JvmOverloads in Kotlin. – AndroidPub

 6 years ago
source link: https://android.jlelse.eu/demystifying-the-jvmoverloads-in-kotlin-10dd098e6f72?gi=1d0f0900dffd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
If you are coming from Java world, you might already have heard about the method overloading in Java. Kotlin, with the help of default parameters and named arguments helps us to reduce the number of…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK