# Using Anko to run background tasks with Kotlin in Android (KAD 09)

DevFeed: [Using Anko to run background tasks with Kotlin in Android (KAD 09)](<https://devfeed.tech/articles/using-anko-to-run-background-tasks-with-kotlin-in-android-kad-09-27131.md>)

Original publisher: [Read original article](<https://antonioleiva.com/anko-background-kotlin-android>)

Published: 2017-01-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Library](<https://devfeed.tech/topics/library.md>), [Code](<https://devfeed.tech/topics/code.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [library](<https://devfeed.tech/tags/library.md>)

## AI overview

This tutorial explains how to use the Anko Android library with Kotlin to run blocking work on a background thread and return to the main thread. It also discusses lifecycle-aware callback behavior and notes that Kotlin Coroutines are preferred for current projects.

## Source excerpt

Everything Android, Kotlin and other random topics