Sagar Khurana

Results 119 comments of Sagar Khurana

D: Dependency inversion 1. High-level modules should not depend on low-level modules. Both should depend on abstractions. 2. Abstractions should not depend upon details. Details should depend upon abstractions. advantages:...

I hardcoded the height and width of the parent composable, but it is still failing. ``` modifier = Modifier .width(400.dp) .height(800.dp) ```

Currently, on passing the same offset, it behaves like the following. ``` zoomState.changeScale( zoomState.scale + 1, Offset(zoomState.offsetX, zoomState.offsetY), ) ``` `Removed the media` @usuiat I would appreciate your response. Thanks!

Thanks that helped! It would be nice to make the `zoomState.layoutSize` as it's already available inside the zoomState, eliminating the need to keep a separate state of the size.

still experiencing the same issue ``` Fatal Exception: okio.IOException 0 app 0xaef564 kfun:okio#errnoToIOException(kotlin.Int){}okio.IOException + 76 (Cinterop.kt:76) 1 app 0xaf59e4 kfun:okio.PosixFileSystem#source(okio.Path){}okio.Source + 107 (UnixPosixVariant.kt:107) 2 app 0xb0bd34 kfun:androidx.datastore.core.okio.OkioReadScope.$readDataCOROUTINE$2.invokeSuspend#internal + 56 (FileSystem.kt:56)...

@mimoccc @AnthonyGambache Could you please try adding the below to the `mainClass` - [code](https://github.com/KhubaibKhan4/MediaPlayer-KMP/blob/cab372222a6a70ece81a0e48be6b4c3c9b35fa31/sample/composeApp/build.gradle.kts#L81) ```gradle compose.desktop { application { mainClass = "MainKt" // 1) Turn on verbose logging so you...

@KevinnZou I'm experiencing this exact issue with version 2.0.0 of the library. The Zoom functionality works perfectly on the first load, but fails on subsequent navigations to the WebView screen....

@KevinnZou code snippet ```kotlin // Configure WebView settings for proper A4 scaling DisposableEffect(navigationKey) { println("XCXCX PreviewScreenRoute: DisposableEffect started with key = $navigationKey") webViewState.webSettings.apply { println("XCXCX PreviewScreenRoute: Applying WebView settings") //...

> Leider Nein! Ich bin aktuell am überlegen für Android die non-KMP version zu verwenden. https://github.com/KevinnZou/compose-webview That's sad :( cc @KevinnZou Any response or help would be appreciated, Thanks