• Justin Yue

    Justin Yue

    1 year ago
    At the moment, the current docs recommend state hoisting for state management, but I fear that state hoisting can be difficult if a specific state must be hoisted up multiple levels. Having learned Flutter before Jetpack Compose, I liked the Provider approach, and Jetpack Compose seems to have something similar in the form of
    CompositionLocal
    and
    CompositionLocalProvider
    . My question is, why are these 2 not recommended for state management?
    Justin Yue
    Zach Klippenstein (he/him) [MOD]
    +1
    5 replies
    Copy to Clipboard
  • Chachako

    Chachako

    1 year ago
    This is an exciting thing, I look forward to the moment it is completed 🤩 https://android-review.googlesource.com/c/platform/frameworks/support/+/1704159
    Chachako
    Doris Liu
    +2
    11 replies
    Copy to Clipboard
  • Alex

    Alex

    1 year ago
    Hey, I am looking for the
    NestedScrollConnectionSample
    but can't seem to find it anywhere. My usecase is building a collapsing toolbar layout. Would love it someone could point me in the right direction here, cheers!
    Alex
    Filip Wiesner
    7 replies
    Copy to Clipboard
  • Alex

    Alex

    1 year ago
    I am using a
    nestedScroll(...)
    to create a collapsing toolbar (code in thread). However implementing it this way is disabling any flinging on the list. I am not sure why, because I am not consuming the Flings in my nested scroll, or do I? Will I have to reimplement flinging animations when using nested scrolling?
    Alex
    Alex Gabor
    +2
    8 replies
    Copy to Clipboard
  • Klaas Kabini

    Klaas Kabini

    1 year ago
    @jim In my understanding Jetpack Compose is designed to allow extension to other platforms such as Desktop(Compose Desktop by JetBrains) and iOS. Therefore, are there any plans to change the package name in future to be platform agnostic for example something like com.google.compose instead of androidx.compose. The androidx.compose package gives an impression that Compose is Android specific.
    Klaas Kabini
    Alex
    +6
    22 replies
    Copy to Clipboard
  • m

    Marko Novakovic

    1 year ago
    how can I make circle come from the centar of the cloud? like it’s coming from behind but not moving diagonally? code in 🧵
    m
    Albert Chang
    4 replies
    Copy to Clipboard
  • Muhammad Zaryab Rafique

    Muhammad Zaryab Rafique

    1 year ago
    how can I make this type of animation in compose : https://codepen.io/MarioDesigns/pen/woJgeo
    Muhammad Zaryab Rafique
    Filip Wiesner
    +1
    9 replies
    Copy to Clipboard
  • Nthily

    Nthily

    1 year ago
    How do I collapse the keyboard after typing a TextField?
    Nthily
    2 replies
    Copy to Clipboard
  • cuongtd

    cuongtd

    1 year ago
    have anyone done navigation transition in compose?
    cuongtd
    pawegio
    +1
    4 replies
    Copy to Clipboard
  • Gaurav Gangwar

    Gaurav Gangwar

    1 year ago
    Curious question, do my Compose Functions finally use View.java to be rendered on the Screen, if not then how does the final rendering happen ? If there is any good resource available on this, please point me to that.
    Gaurav Gangwar
    n
    +3
    17 replies
    Copy to Clipboard