Extension Functions in Kotlin

Discussion created by ANohe-esristaff Employee on Oct 10, 2017

Has anyone found some useful extension functions in Kotlin that help improve your experience with using the Android SDK?


Support is working on creating a collection of these extension functions for use by our developer community.  We are hoping that those developers that have created some helpful extension functions will contribute to our files located here:


developer-support/runtime-android/kotlin-extensions at master · Esri/developer-support · GitHub 


For more information about extension functions, you can visit this documentation from JetBrains on the subject:


Extensions - Kotlin Programming Language 


Alternatively, if you do not wish to contribute directly to the extension functions we are collecting, feel free to post some of them below.