Max
Max

Reputation: 143

Using Jetpack Compose Paging library without Flow

I'd like to use Compose Paging library without Kotlin Flow but I' ve found only one example with Flow, where I have to collect data with collectAsLazyPagingItems() extension function. How to achieve identical behavior without flow ?

Upvotes: 0

Views: 563

Answers (1)

Jakoss
Jakoss

Reputation: 5235

You cannot do that. Whole paging is based on flow, this is just the official api. Is there any particular reason why you don't want to use flow?

Upvotes: 1

Related Questions