From c977dd67c5c77c932cab3216a62fcf4d6ca948ba Mon Sep 17 00:00:00 2001 From: Louis CAD Date: Sun, 28 Apr 2019 15:39:46 +0200 Subject: [PATCH] Reorder functions documentation --- modules/lifecycle-coroutines/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/lifecycle-coroutines/README.md b/modules/lifecycle-coroutines/README.md index 7f470627c..c8fda423a 100644 --- a/modules/lifecycle-coroutines/README.md +++ b/modules/lifecycle-coroutines/README.md @@ -6,20 +6,20 @@ Extension properties: | **Name** | **Description** | -------- | --------------- -| `Lifecycle.coroutineScope` | A scope that dispatches on Android Main thread and is active until the Lifecycle is destroyed. | `LifecycleOwner.lifecycleScope` | A scope that dispatches on Android Main thread and is active until the LifecycleOwner is destroyed. +| `Lifecycle.coroutineScope` | A scope that dispatches on Android Main thread and is active until the Lifecycle is destroyed. | `Lifecycle.job` | A job that is cancelled when the Lifecycle is destroyed. Extension functions: | **Name** | **Description** | -------- | --------------- -| `Lifecycle.createJob` | A job that is active while the state is at least the passed one. -| `Lifecycle.createScope` | A scope that dispatches on Android Main thread and is active while the state is at least the passed one. -| `Lifecycle.awaitState` | A suspending function that returns/resumes as soon as the state of the Lifecycle is at least the passed state. | `Lifecycle.awaitResumed` | A suspending function that returns/resumes as soon as the state of the Lifecycle is resumed. | `Lifecycle.awaitStarted` | A suspending function that returns/resumes as soon as the state of the Lifecycle is at least started. | `Lifecycle.awaitCreated` | A suspending function that returns/resumes as soon as the state of the Lifecycle is at least created. +| `Lifecycle.awaitState` | A suspending function that returns/resumes as soon as the state of the Lifecycle is at least the passed state. +| `Lifecycle.createJob` | A job that is active while the state is at least the passed one. +| `Lifecycle.createScope` | A scope that dispatches on Android Main thread and is active while the state is at least the passed one. ## Example