We will begin by setting up the Anko library in our project. We will be using Gradle to handle the dependencies of the project.
Setting up Anko with Gradle
Getting ready
I'll be using Android Studio to write code. You can also find the source code in the 1-setting-up-anko-with-gradle branch of repository at https://gitlab.com/aanandshekharroy/Anko-examples.
How to do it…
Follow these steps to add Anko to your project using the Gradle build system:
- The easiest way to set up Anko with Gradle is do it by adding the following lines in your...