Paging 3.0 list with new params in Kotlin
问题 I have the following code: val history: Flow<PagingData<Any>> = Pager(PagingConfig(pageSize = 10)) { PaginationBaseDataSource(apiService) }.flow .cachedIn(viewModelScope) This currently is displaying a list of items without any additional params. This works Ok... But now I wish to query this list based in certain params that the user can change in frontend, let´s say I wish to add the parameter 3 as a query. val history: Flow<PagingData<Any>> = Pager(PagingConfig(pageSize = 10)) {