Skip to content

Files

Latest commit

ad6211c · Feb 10, 2021

History

History

kotlinx-coroutines-android

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 4, 2021
Oct 9, 2020
Jul 21, 2020
Feb 4, 2021
Jul 16, 2020
Apr 24, 2020
Feb 14, 2020
Feb 10, 2021
May 15, 2019

README.md

Module kotlinx-coroutines-android

Provides Dispatchers.Main context for Android applications.

Read Guide to UI programming with coroutines for tutorial on this module.

Optimization

R8 and ProGuard rules are bundled into this module. R8 is a replacement for ProGuard in Android ecosystem, it is enabled by default since Android gradle plugin 3.4.0 (3.3.0-beta also had it enabled). For best results it is recommended to use a recent version of R8, which produces a smaller binary.

When optimizations are enabled with R8 version 1.6.0 or later the following debugging features are permanently turned off to reduce the size of the resulting binary:

You can examine the corresponding rules in this coroutines.pro file.

Package kotlinx.coroutines.android

Provides Dispatchers.Main context for Android applications.