Error on launch: Attempt to collect twice from pageEventFlow, which is an illegal operation. Did you forget to call Flow<PagingData<*>>.cachedIn(coroutineScope)? #1
2021-06-02 00:25:29.561 19186-19186/dev.androidbroadcast.sample.paging3 E/.sample.paging: Invalid ID 0x00000000.
2021-06-02 00:25:29.637 19186-19186/dev.androidbroadcast.sample.paging3 E/AndroidRuntime: FATAL EXCEPTION: main
Process: dev.androidbroadcast.sample.paging3, PID: 19186
java.lang.IllegalStateException: Attempt to collect twice from pageEventFlow, which is an illegal operation. Did you forget to call Flow<PagingData<*>>.cachedIn(coroutineScope)?
at androidx.paging.PageFetcherSnapshot$pageEventFlow$1.invokeSuspend(PageFetcherSnapshot.kt:81)