Someone know how to connect a PagingData on my Vie...
# ios
a
Someone know how to connect a PagingData on my Viewmodel to swift? My sharedViewModel contains:
Copy code
private val _example = MutableStateFlow<Flow<PagingData<CharacterModel>>>(viewModelScope, emptyFlow())
@NativeCoroutinesState
val example: StateFlow<Flow<PagingData<CharacterModel>>> = _example.asStateFlow()
and I call him like this:
Copy code
private fun getAllCharacters() {
    _example.value = repository.getAllCharacters()
}
Is just a paging flow that works on android (I obviously has cashapp paging library (android, common and iOS).