Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit c2340ad5cd6b470ce3400a15c995729bf15a00c4
Author: Clara Fok <clarafok@google.com>
Date: Fri May 12 16:16:57 2023
Remove CoroutineScope parameter from asSnapshot
This API now automaticllly uses the coroutineScope inherited from the parent scope, which is expected to be the scope from runTest.
Test: ./gradlew paging:paging-testing:test
Bug: 282240990
Relnote: "The asSnapshot API no longer requires passing in a CoroutineScope. It now defaults to using the context inherited from its parent scope."
Change-Id: Id0a78cc5dd633901b39cc608d66d6b7255618549
M paging/paging-testing/api/current.txt
M paging/paging-testing/api/public_plus_experimental_current.txt
M paging/paging-testing/api/restricted_current.txt
M paging/paging-testing/src/main/java/androidx/paging/testing/PagerFlowSnapshot.kt
M paging/paging-testing/src/test/kotlin/androidx/paging/testing/PagerFlowSnapshotTest.kt
https://android-review.googlesource.com/2587880
Branch: androidx-main
commit c2340ad5cd6b470ce3400a15c995729bf15a00c4
Author: Clara Fok <clarafok@google.com>
Date: Fri May 12 16:16:57 2023
Remove CoroutineScope parameter from asSnapshot
This API now automaticllly uses the coroutineScope inherited from the parent scope, which is expected to be the scope from runTest.
Test: ./gradlew paging:paging-testing:test
Bug: 282240990
Relnote: "The asSnapshot API no longer requires passing in a CoroutineScope. It now defaults to using the context inherited from its parent scope."
Change-Id: Id0a78cc5dd633901b39cc608d66d6b7255618549
M paging/paging-testing/api/current.txt
M paging/paging-testing/api/public_plus_experimental_current.txt
M paging/paging-testing/api/restricted_current.txt
M paging/paging-testing/src/main/java/androidx/paging/testing/PagerFlowSnapshot.kt
M paging/paging-testing/src/test/kotlin/androidx/paging/testing/PagerFlowSnapshotTest.kt
cl...@google.com <cl...@google.com> #4
Change will be available in paging 3.2.0-alpha06
ju...@google.com <ju...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.paging:paging-testing:3.2.0-alpha06
Description
It would help to reduce the pre-requisite knowledge on Coroutines required to use this API.