PUBLIC OBJECT

Coroutines Party Tricks

I presented this at Droidcon NYC on June 25, 2025.

Available as code, video, slides, Droidtube, & Speaker Deck.



Coroutines are an important tool in the Android developer’s toolbox. We use 'em to background our tasks, to parallelize our work, and to gracefully cancel operations.

This is not a talk about that reasonable coroutines use.

Instead, we’ll do unreasonable, forbidden things. We’ll study the implementation details of coroutines, scopes, and contexts. Once that foundation is established, we’ll start ‘thinking in coroutines’ and break our brains a bit!

We’ll cover:

💣 Making I/O slower with suspend
💣 Turning code inside-out
💣 Using reflection with coroutines
💣 Treating the user as a function

If you're willing to suspend disbelief, this talk is for you.