I have a PagingSource Factory in a ViewModel (Compose/Desktop) where parameters can change based on events (e.g. user changes sort order, search query, etc). I want to call LazyPagingItems.refresh() to trigger generating a new PagingSource and a call to RemoteMediator.load .
I got a log line that shows Refresh signal received (probably from PagingDataPresenter.kt). However there is no invocation of the PagingSourceFactory and no call to remotemediator.load.
This is using version 3.3.0-alpha02-0.5.1 . The project can be found here - example file PersonListScreen
I have a PagingSource Factory in a ViewModel (Compose/Desktop) where parameters can change based on events (e.g. user changes sort order, search query, etc). I want to call
LazyPagingItems.refresh()
to trigger generating a new PagingSource and a call to RemoteMediator.load .I am using this in compose:
I got a log line that shows
Refresh signal received
(probably from PagingDataPresenter.kt). However there is no invocation of the PagingSourceFactory and no call to remotemediator.load.This is using version 3.3.0-alpha02-0.5.1 . The project can be found here - example file PersonListScreen