File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ fun <T> InterElementDividedRow(
156156@Composable
157157fun <T > CollectFromFlow (
158158 flow : Flow <T >,
159- collector : FlowCollector <T >,
160159 key1 : Any? = null,
161- key2 : Any? = null
160+ key2 : Any? = null,
161+ collector : FlowCollector <T >
162162)
163163
164164/* *
@@ -167,9 +167,9 @@ fun <T> CollectFromFlow(
167167@Composable
168168fun <T > CollectLatestFromFlow (
169169 flow : Flow <T >,
170- action : suspend (value: T ) -> Unit ,
171170 key1 : Any? = null,
172- key2 : Any? = null
171+ key2 : Any? = null,
172+ action : suspend (value: T ) -> Unit
173173)
174174```
175175
@@ -181,18 +181,18 @@ fun <T> CollectLatestFromFlow(
181181 */
182182@Composable
183183fun OnLifecycleEvent (
184- callback : () -> Unit ,
185184 lifecycleEvent : Lifecycle .Event ,
186185 lifecycleOwner : LifecycleOwner = LocalLifecycleOwner .current,
187186 key1 : Any? = null,
188- key2 : Any? = null
187+ key2 : Any? = null,
188+ callback : () -> Unit
189189)
190190
191191/* *
192192 * Runs a callback when removed from composition.
193193 */
194194@Composable
195- fun OnRemoveFromComposition (callback : () -> Unit )
195+ fun OnDispose (callback : () -> Unit )
196196```
197197
198198## Orientation
You can’t perform that action at this time.
0 commit comments