Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
android-unit-tests/ | 03-May-2024 | - | 249 | 170 | ||
animation-app/ | 03-May-2024 | - | 951 | 745 | ||
api/ | 03-May-2024 | - | 14 | 11 | ||
example-app/ | 03-May-2024 | - | 584 | 412 | ||
resources/META-INF/ | 03-May-2024 | - | 51 | 38 | ||
src/ | 03-May-2024 | - | 248 | 146 | ||
test/ | 03-May-2024 | - | 229 | 171 | ||
testdata/ | 03-May-2024 | - | 39 | 29 | ||
README.md | D | 03-May-2024 | 1.2 KiB | 28 | 18 | |
build.gradle.kts | D | 03-May-2024 | 1.9 KiB | 63 | 41 | |
package.list | D | 03-May-2024 | 4 KiB | 212 | 210 |
README.md
1# Module kotlinx-coroutines-android 2 3Provides `Dispatchers.Main` context for Android applications. 4 5Read [Guide to UI programming with coroutines](https://github.com/Kotlin/kotlinx.coroutines/blob/master/ui/coroutines-guide-ui.md) 6for tutorial on this module. 7 8# Optimization 9 10R8 and ProGuard rules are bundled into this module. 11R8 is a replacement for ProGuard in Android ecosystem, it is enabled by default since Android gradle plugin 3.4.0 12(3.3.0-beta also had it enabled). 13For best results it is recommended to use a recent version of R8, which produces a smaller binary. 14 15When optimizations are enabled with R8 version 1.6.0 or later 16the following debugging features are permanently turned off to reduce the size of the resulting binary: 17 18* [Debugging mode](../../docs/debugging.md#debug-mode) 19* [Stacktrace recovery](../../docs/debugging.md#stacktrace-recovery) 20* The internal assertions in the library are also permanently removed. 21 22You can examine the corresponding rules in this 23[`coroutines.pro`](resources/META-INF/com.android.tools/r8-from-1.6.0/coroutines.pro) file. 24 25# Package kotlinx.coroutines.android 26 27Provides `Dispatchers.Main` context for Android applications. 28