Having endorsed Kotlin as a language for Android development last year, Google is now previewing beta extensions to improve the Kotlin development experience.

Called Android KTX, the extensions are designed to make writing Kotlin code more concise and idiomatic. An API layer is provided to work on top of Android’s framework and support library. KTX marks the first time Google has released a library specifically for Kotlin developers. KTX, however, is not intended to add new features to Android APIs.

Features in Android KTX

Android’s platform developers say KTX simplifies code in many cases. For example:

To read this article in full, please click here

Source: New feed

Leave a Reply

Your email address will not be published. Required fields are marked *