Hello! I am new to Kotlin and Android and I want ...
# android
y
Hello! I am new to Kotlin and Android and I want to use the
WindowWidthSizeClass
class as used in “Reply” app tutorial (https://github.com/android/compose-samples/blob/00fe2156693d381c44efeb202718f3ecb8[…]bdfc61/Reply/app/src/main/java/com/example/reply/ui/ReplyApp.kt), but it seems that I cannot use the class because it is not included in the Compose library. Does anybody have any idea how to fix this? Thank you for any help!
solved 1
By the way, my dependencies are as follows:
i
You need the
androidx.compose.material3:material3-window-size-class
dependency if you want the window size class APIs
2
👍 2
y
Oh right! Thank you!