Fixed
Status Update
Comments
cc...@google.com <cc...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit bb6ed7ad0a041758b34bdc1ca671f1bb77a970f7
Author: Chris Craik <ccraik@google.com>
Date: Mon Jul 13 12:31:34 2020
Use @JvmSynthetic to preserve map source compat
Bug: 161150011
Test: ./gradlew paging:p-c:test paging:p-ru:cC paging:p-rx:cC paging:p-g:cC
Relnote: "Hid DataSource kotlin map function variants from Java, to
resolve ambiguity between original and kotlin variants."
Change-Id: If7b239bfd58391e11b46a4fcd2ea99ffd729f84d
M paging/common/api/3.0.0-alpha03.txt
M paging/common/api/current.txt
M paging/common/api/public_plus_experimental_3.0.0-alpha03.txt
M paging/common/api/public_plus_experimental_current.txt
M paging/common/api/restricted_3.0.0-alpha03.txt
M paging/common/api/restricted_current.txt
M paging/common/src/main/kotlin/androidx/paging/DataSource.kt
https://android-review.googlesource.com/1361143
Branch: androidx-master-dev
commit bb6ed7ad0a041758b34bdc1ca671f1bb77a970f7
Author: Chris Craik <ccraik@google.com>
Date: Mon Jul 13 12:31:34 2020
Use @JvmSynthetic to preserve map source compat
Bug: 161150011
Test: ./gradlew paging:p-c:test paging:p-ru:cC paging:p-rx:cC paging:p-g:cC
Relnote: "Hid DataSource kotlin map function variants from Java, to
resolve ambiguity between original and kotlin variants."
Change-Id: If7b239bfd58391e11b46a4fcd2ea99ffd729f84d
M paging/common/api/3.0.0-alpha03.txt
M paging/common/api/current.txt
M paging/common/api/public_plus_experimental_3.0.0-alpha03.txt
M paging/common/api/public_plus_experimental_current.txt
M paging/common/api/restricted_3.0.0-alpha03.txt
M paging/common/api/restricted_current.txt
M paging/common/src/main/kotlin/androidx/paging/DataSource.kt
Description
From internal report, seeing errors like the following:
map is ambiguous with lambda syntax, due to having the same lambda signature for both variants.
Note - can't make it an extension in this case, since it's open (for legacy reasons).