cashapp / multiplatform-paging

A library that packages AndroidX Paging for Kotlin/Multiplatform.
Apache License 2.0
555 stars 26 forks source link

Swing dependency for Main dispatcher question #330

Open lsrom opened 3 weeks ago

lsrom commented 3 weeks ago

Hi, I was trying touse this library in multiplatform app, but it requires org.jetbrains.kotlinx:kotlinx-coroutines-swing for the Dispatchers.Main. I've seen that in other libraries as well and was wondering if thats something I just have to live with if I want to use these libraries or if it can be avoided, for example by providing my dispatcher.

So, am I wrong in trying to avoid swing dependency?

JakeWharton commented 3 weeks ago

Are you talking about Compose UI for Desktop? If so, that already relies on Swing so the dependency is already going to be present.