'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?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source