Thread
#compose
    John O'Reilly

    John O'Reilly

    1 year ago
    What's equivalent of SwiftUI's
    GeometryReader
    for getting the dimensions of the screen/window?
    Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    1 year ago
    Depending on your use case,
    WithConstraints
    might be what you’re looking for
    Otherwise, you can get the
    Context
    and read the
    DisplayMetrics
    just like usual in android
    John O'Reilly

    John O'Reilly

    1 year ago
    thanks @Zach Klippenstein (he/him) [MOD], will try that
    That did the job, thanks!