1 year ago

#353023

test-img

CrewDaniel

How to use Paging 3 library with RxJava 3 on Jetpack Compose

At Jetpack Compose documentation, it says that use collectAsLazyPagingItems() to get LazyPagingItems, and pass to LazyColumn's items.

The problem is; collectAsLazyPagingItems() function only works in Kotlin Flows, and it seems to only way to create LazyPagingItems type variable according to documentation (LazyPagingItems Documentation).

Is there any way to use RxJava instead of Flow to use Paging library on Jetpack Compose?

android

rx-java

android-jetpack-compose

kotlin-flow

android-paging-3

0 Answers

Your Answer

Accepted video resources