Status Update
Comments
ys...@google.com <ys...@google.com> #3
Hello,
Could you please confirm if the issue is resolved or not ?
ys...@google.com <ys...@google.com> #4
ap...@google.com <ap...@google.com> #6
Hello,
To troubleshoot the issue further, I have created a private ticket to provide some information about the issue (for which you should have received a notification). Please provide requested information there. Don't put any personal information, including project identifiers in this public ticket.
ap...@google.com <ap...@google.com> #7
Branch: androidx-main
commit 4bfb8df28135eac7f4cd306a85b72eb7db0386e1
Author: Clara Fok <clarafok@google.com>
Date: Fri Mar 31 15:16:04 2023
Implement LazyPagingItem itemContenType as helper function
Added itemContentType API which returns a lambda that can be plugged into `contentType` params for Lazy scopes.
If no contentType is provided, defaults to null contentType.
Test: Compose demos
Test: ./gradlew paging:paging-compose:cC
Bug: 259385813
Relnote: "LazyPagingItems has a new itemContentType API which returns a contentType implementation that can be plugged into the `contentType` params of Lazy scopes. If no contentType is provided, defaults to `null` contentType for all paging items."
Change-Id: Ib04f099111605af368c5b025d84a085ab4251fb6
M paging/paging-compose/api/current.txt
M paging/paging-compose/api/public_plus_experimental_current.txt
M paging/paging-compose/api/restricted_current.txt
M paging/paging-compose/integration-tests/paging-demos/src/main/java/androidx/paging/compose/demos/PagingFoundationDemos.kt
M paging/paging-compose/samples/src/main/java/androidx/paging/compose/samples/PagingFoundationSample.kt
M paging/paging-compose/src/androidTest/java/androidx/paging/compose/LazyPagingItemsTest.kt
M paging/paging-compose/src/main/java/androidx/paging/compose/LazyFoundationExtensions.kt
M paging/paging-compose/src/main/java/androidx/paging/compose/LazyPagingItems.kt
M paging/paging-compose/src/main/java/androidx/paging/compose/PagingPlaceholders.kt
cl...@google.com <cl...@google.com> #8
Instead of writing an extension for ScalingLazyListScope
, we wrote LazyPagingItems APIs for key and contentType with implementations that can be plugged directly into Lazy scopes such as ScalingLazyListScope.items
.
cl...@google.com <cl...@google.com> #9
Fixed internally and will be available in paging-compose 1.0.0-alpha19
na...@google.com <na...@google.com> #10
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.paging:paging-compose:1.0.0-alpha19
Description
Version used:
androidx.paging:paging-runtime:3.1.1
androidx.paging:paging-compose:1.0.0-alpha17
Devices/Android versions reproduced on: n/a
I'm trying to use the Paging 3 library for my Wear OS app, but I am unable to put the LazyPagingItems from my Pager implementation on a ScalingLazyColumn in the UI. I notice that you are able to do this for LazyColumn, but not for ScalingLazyColumn. Are there plans for ScalingLazyColumn to support LazyPagingItems?