简体   繁体   中英

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?

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM