getPagingData

abstract fun getPagingData(pageSize: Int): Flow<PagingData<M>>

Uses Paging3 library and return a Flow

Return

a Flow of PagingData elements

Parameters

pageSize

Length of the page