createPagingFlow

abstract fun createPagingFlow(userId: Long, visibleOnly: Boolean = true, config: PagingConfig = defaultPagingConfig): Flow<PagingData<MediaItem>>

Creates new flow for timeline: all images, videos, uploaded and local.

Return

Flow that emits new PagingData every time the timeline data is changed.

See also

PagingData