Why every Android developer should use Anko

Updated 6 September 2019

Save

What is Anko?

Anko is a Kotlin library which is development by the kotlin team which makes Android application development faster and easier. It makes your code clean and easy to read, and lets you forget about rough edges of the Android SDK for Java.

Why does Anko preform better?

XML Layouts are parsed at runtime. In other the XML needs to be retrieved form the assets, and the XmlPullParser needs to parse all the elements and create them one by one.

Lets take a look how anko make your android application development faster and easier.

View.setOnClickListener method is used everywhere in Android projects so it would be nice if we could make it more concise.

But Anko helps to minimize the effort we have to make:

Using intents is one of the first things you will learn as an Android developer, but the API could be more convenient.

Let’s see how could it be more simple:

Defining the layout in anko is much easier than the traditional xml layout

Anko is not just about to minimize the code but it also 300% faster performance comparison than the traditional xml layout.

author
. . .

Leave a Comment

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


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home