multiplatform-paging icon indicating copy to clipboard operation
multiplatform-paging copied to clipboard

Swing dependency for Main dispatcher question

Open lsrom opened this issue 1 year ago • 1 comments

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?

lsrom avatar Sep 23 '24 20:09 lsrom

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

JakeWharton avatar Sep 24 '24 04:09 JakeWharton