This course will be retired on June 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Anko is a new library by Jetbrains which makes Android development a lot easier!
Related Links
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[MUSIC]
0:00
Hey, there.
0:04
I'm still Ben and
we're still learning about Kotlin.
0:05
But at this point,
0:08
I think you've learned enough Kotlin
that we can start learning about Anko.
0:09
Anko is a library which makes Android
development faster and easier.
0:13
It makes your code clean and
easy to read and
0:17
let's you forget about the rough
edges of the Android SDK.
0:20
More specifically, Anko gives us
a way to define our layouts and
0:23
code instead of XML.
0:27
With Anko we can greatly
simplify our projects and
0:28
enjoy much easier code
reuse with our layouts.
0:31
It's great stuff and
I'm sure you'll love it.
0:35
But before we get any further,
a quick warning.
0:37
At the moment Anko has yet
to reach version 1.0.
0:40
And while there are a bunch of Android
companies already using Kotlan or
0:43
at least looking into it,
there aren't as many using Anko.
0:47
That said, just like Kotlan,
Anko comes to us from Jetbrains.
0:50
So even though it's not as
widespread as something like RxJava,
0:54
I'm not too concerned about it
becoming obsolete anytime soon.
0:57
Another thing to keep in mind is
that using Anko, or even Kotlan for
1:01
that matter, is just another
way to make an Android app.
1:04
I'm not here to tell you that one
way is better than another, but
1:08
I do think Anko's pretty cool.
1:11
Now, before we can really
sink our teeth into Anko,
1:13
we'll need to have an Android project.
1:15
And that Android project,
will need to be all set up with Kotlan.
1:18
So whenever you're ready, join me in
the next video and we’ll do just that.
1:21
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up