Konstantinfo

Google Announces Android KTX for Developing App Using Kotlin

The latest news that is doing the rounds in the technology circuit happens to be about Android KTX. The parent organization Google has announced KTX launch this month and assured developers to get far bigger benefits in building better codes with great ease, using this technology on the top of Kotlin.

Basically, Android KTX in technically explained as a set of extensions that are interlaced and built together to form an Android-complying architecture to easily write codes on Kotlin. KTX does it by offering a layer of API on the top of the Android framework and Support Library.

Now, what’s so desirable about Android KTX. Well, the foremost thing that makes it such a feast for developers is that it allows them to convert strings to URLs effortlessly and in a more ‘organic’ manner, as they describe it. With KTX it also becomes quite easier to edit SharedPreferences. Also, it is far easier to translate path differences and simplify it to trigger different actions with the help of the View command. Which adds a lot of strength and value to the process of development as it reduces the application efforts and compresses it to lesser lines of codes.

For now, you have the version available that supports the Android framework. The version that supports the Support Library part is yet to be released in the updated version, which is likely to be launched soon. This is because the development team is first looking to get the initial release get stabilized to form a sustainable base that is all equipped and alleviated to support the following developments.

Coming to the practice, if you are looking to get started with Android KTX, you need to add a snippet code to the app’s build.gradle file. As the project gets synced, you will have the extensions appearing in the auto-complete list.