• andbapps

    andbapps

    1 year ago
    I'm having some weird behavior with
    IntrinsicSize
    and
    Arrangement.SpacedBy
    (code in thread)
    andbapps
    3 replies
    Copy to Clipboard
  • james

    james

    1 year ago
    has anyone seen decent examples of master/detail apps built with Compose? looking at building something which I’d like to run on both phones and tablets with a slightly enhanced tablet view. last time I had to do this was before Android Architecture components even existed (so pre-ViewModel etc).. I’m wondering if anyone has seen anything with a master/detail tablet view which is using modern architecture, and specifically Compose?
    james
    i
    +1
    7 replies
    Copy to Clipboard
  • l

    Lilly

    1 year ago
    I'm looking for a specific function that allows to make multiple changes to a state before recompose is triggered. I can't find it. Can someone help?
    l
    Albert Chang
    2 replies
    Copy to Clipboard
  • Jason Ankers

    Jason Ankers

    1 year ago
    Is it possible to configure a LazyColumn/Row to always snap to discrete item positions after a scroll? It looks like this was possible previously with
    FlingConfig
    (now
    FlingBehaviour
    ?) but I cant see how I can specify a list of anchors or snap points easily
    Jason Ankers
    Albert Chang
    +1
    5 replies
    Copy to Clipboard
  • s

    Shivam Sethi

    1 year ago
    help composers, why this is not animating ? I put log statement which gets printed with the changing float values (1f to 1.5f)
    s
    s
    +2
    6 replies
    Copy to Clipboard
  • a

    Abhishek Dewan

    1 year ago
    Wrote about my experience using Compose to write an animated collapsable button (https://abhishekdewan101.github.io/learning-to-code/blog/Animating/). Compared to the old system, I found the way of thinking of animation in compose easier to get used to.
    a
    1 replies
    Copy to Clipboard
  • a

    allan.conda

    1 year ago
    Has anyone been able to successfully return a result of a navigation from
    compose-navigation
    ? I could get the results from
    NavBackStackEntry.savedStateHandle
    , but I’m not sure where that code belongs… Do you pass it as state?https://github.com/android/compose-samples/blob/main/Owl/app/src/main/java/com/example/owl/ui/NavGraph.kt#L75-L85
    a
    i
    3 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    This might be a dumb question... but one thing I've always wanted to have in android is like a completely flexible emulator height and width so that I can "check" that my designs and layouts work on a WIDE range of android phones. This is just something I'm used to with web dev. Load my site. And just drag the bottom right hand corner to expand and contract the window. Could compose-desktop be used for "stress" testing my layouts like I envision or does compose desktop do something differently and I shouldn't bank on the compose desktop to match what would actually happen on my android device?
    Colton Idle
    Kevin Aude
    +3
    19 replies
    Copy to Clipboard
  • SrSouza

    SrSouza

    1 year ago
    Hi folks, do AGP stable supports Compose?
    SrSouza
    1 replies
    Copy to Clipboard
  • Arsen

    Arsen

    1 year ago
    Hi, is it fine that size Modifiers from parent has more priority than from inline layout e.g. Column?
    Arsen
    5 replies
    Copy to Clipboard