Jetpack Compose runtime does not recompose on pointer input, possibly due to threading (Huge code warning)
I'm working on a Jetpack Compose integration library. The application side provides render functions and input handlers, which in place are all running on the main thread and shouldn't be blocked. As for integration, I first set up a UI context as follows:
object UIContext {
private var scheduledStop: Boolean = false
private var hasFrameWaiters: Boolean = false
private val clock: BroadcastFrameClock = BroadcastFrameClock { hasFrameWaiters = true }
private val...