android13/external/kotlinx.coroutines/ui/kotlinx-coroutines-android
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
android-unit-tests initial 2024-06-22 20:45:49 +08:00
api initial 2024-06-22 20:45:49 +08:00
resources/META-INF initial 2024-06-22 20:45:49 +08:00
src initial 2024-06-22 20:45:49 +08:00
test initial 2024-06-22 20:45:49 +08:00
testdata initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
build.gradle.kts initial 2024-06-22 20:45:49 +08:00
package.list initial 2024-06-22 20:45:49 +08:00

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.