Somewhat of an architecture/packaging question but...
# apollo-kotlin
j
Somewhat of an architecture/packaging question but wondering what folks are doing when using combination of Jetpack Paging and Apollo Kotlin. Where for example would likes of following reside and then should that
PagingSource
implementation be interacting with Apollo directly (as opposed to what I have right now where it interacts with a repository which then uses Apollo).
Copy code
val characters: Flow<PagingData<CharacterDetail>> = Pager(PagingConfig(pageSize = 20)) {
    CharactersDataSource(repository)
}.flow
👀 1
A further abstraction then potentially comes in to play with KMP support and use of new
PagingDataPresenter
which would wrap that
PagingSource
implementation https://x.com/joreilly/status/1791211694305255600