Hi all. I'm a little confused by common `WindowSiz...
# compose
x
Hi all. I'm a little confused by common
WindowSizeClass
implementation. There are two window size class implementations •
androidx.window.core.layout.WindowSizeClass
coming from
org.jetbrains.compose.material3.adaptive:adaptive:1.0.0-alpha01
androidx.compose.material3.windowsizeclass.WindowSizeClass
coming from
org.jetbrains.compose.material3:material3-window-size-class:1.7.0-beta02
Do we know which ones gonna stay? I know this is currently in works, but I want to minimise the impact this will have in the future
cc @Konstantin Tskhovrebov (jfyi)
k
I'd recommend to use the
adaptive
library. The
windowsizeclass
library is more low level. But, as Ivan said, it is better to ask Google here
j
not certain it's exactly correct way to do this but following shows changes to use that library https://github.com/joreilly/ClimateTraceKMP/pull/103/files
👀 1