Join for free and connect with our local tech scene

Stay on top of the latest companies and upcoming events with our weekly newsletter, and be counted among the people building the future of your local tech community.

Colorado /

Denver Droids: Coroutines: Kotlin's Flexible Async Approach

Comcast VIPER 1515 Wynkoop Street Suite 200, Denver, CO 80202 (map)

Asynchronous programming is impossible to avoid in Android development unless your app is quite simple. Any networking or database calls require background threads to avoid blocking the UI, which could create ANR (Application Not Responding) bugs.

The Android framework provides AsyncTasks, which can be unwieldy. Some app developers use 3rd party libraries like RxJava to handle threading, which can involve a steep learning curve.

Coroutines provide a few advantages over these, but most importantly coroutines make asynchronous code read like synchronous code. With the release of Kotlin v1.3, coroutines are now stable. Come to Denver Droids and learn about the advantages, the how-to, and some best practices around coroutines.

About the Speaker

Mike Patterson recently moved from POSSIBLE Mobile to VIPER. His favorite aspects of Android at the moment are Kotlin and ExoPlayer. He holds a Bachelor’s of Science in Computer Science and a minor in Economics from the Colorado School of Mines.

About the Droids

Each 3rd Tuesday of the month, we meet in Downtown Denver. From 5:30-6pm we will socialize and enjoy food and drinks. At 6pm we will either have a presentation about a new/interesting Android topic, or we'll work on a group project. If you are a new or experienced Android developer, or just someone that is curious about Android development, we hope you will join us and become a regular participant!

Comments

Sign in to comment.