• r

    RE

    1 year ago
    I don't know if this is a BUG or deliberately. When the horizontal arrangement of Row is set to "END", Compose still measures the layout from left to right.
    r
    t
    +1
    12 replies
    Copy to Clipboard
  • k

    kevindmoore

    1 year ago
    Probably a dumb question, but why is compose so tied to a particular kotlin version? I need 1.5.21 for desktop compose but jetpack compose seems to need 1.5.10
    k
    1 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    Code review request! Please be nice as compose + navigation makes my brain hurt. Project = login/logout screens + compose + AAC compose nav + Hilt + AAC ViewModel These ~100 lines of code will serve as the base of my project. Appreciate any input you may have. https://github.com/ColtonIdle/ComposeSignInSample/blob/main/app/src/main/java/com/example/composesigninsample/MainActivity.kt
    Colton Idle
    Bryan L
    +2
    30 replies
    Copy to Clipboard
  • Adib Faramarzi

    Adib Faramarzi

    1 year ago
    Is there a way to get notified of user’s press on back button? There used to be a
    LocalBackDispatcher
    which does not seem to be there anymore.
    Adib Faramarzi
    steelahhh
    2 replies
    Copy to Clipboard
  • a

    Abhishek Dewan

    1 year ago
    Does anyone have a good way to create a vertical divider ? I have
    Box(
            modifier = Modifier
                .width(1.dp)
                .fillMaxHeight()
                .background(ScoutTheme.colors.dividerColor.copy(alpha = 0.12f))
        )
    but I am seeing that when it's used inside a Row who's height is dynamic, nothing ever renders. If I replace the fillMaxHeight with a specific height I see it render but then I have the potential to get empty spaces since the height is specific rather than being dynamic
    a
    t
    +1
    4 replies
    Copy to Clipboard
  • Nacho Ruiz Martin

    Nacho Ruiz Martin

    1 year ago
    👋 Is there a better way to "inherit" from a Composable than redeclaring all the parameters of the inherited? I want to extend the functionality of some Material composables with custom logic that I don't want to repeat everywhere.
    Nacho Ruiz Martin
    c
    +3
    15 replies
    Copy to Clipboard
  • u

    ursus

    1 year ago
    are there plans for compose testing to be on jvm? emulator are a pain to setup on ci/cd and most use cloud providers who don't allow you virtualization so it takes for ever or should I try harder to make emulators work with stupid gitlab
    u
    t
    2 replies
    Copy to Clipboard
  • mario

    mario

    1 year ago
    Is there a way to view the icons of material icons library on the IDE or some website?
    mario
    1 replies
    Copy to Clipboard
  • k

    kevindmoore

    1 year ago
    I’m getting this error message (which is strange as I am using that version of Kotlin): “this version (1.0.0-rc01) of the Compose Compiler requires Kotlin version 1.5.10 but you appear to be using Kotlin version 1.4.31 which is not known to be compatible.”
    k
    mario
    4 replies
    Copy to Clipboard
  • m

    ms

    1 year ago
    When using
    ModalBottomSheetLayout
    , is there any way to disable
    isHalfExpandedEnabled
    'cause I want my bottom sheet to expand to it's content height
    m
    3 replies
    Copy to Clipboard