I am trying to use `paging-compose` for creating ...
# compose
d
I am trying to use
paging-compose
for creating a grid and I found out that there is no
items
function for
LazyGridScope
that accepts
lazyPagingItems: LazyPagingItems<T>
as there is one for
LazyListScope
Basically I'm not able to use pagination for creating a grid view. Is there any workaround for it?
z
Look at the implementation of the method you are expecting on the other scope, try to copy it? And file an issue requesting this in the paging library.
👍 2
d
Thanks a lot, I just did the same. And it's working like a charm.
Turns out there's already a issue filed for it https://issuetracker.google.com/issues/178087310
a
yes, we don’t have it as LazyVerticalGrid is marked as experimental and we have a policy to not use the experimental functions of one module in another one. but copying works fine for now
d
ok