• a

    Abhishek Dewan

    1 year ago
    wanted to give it one more try if anyone had some insights. https://kotlinlang.slack.com/archives/CJLTWPH7S/p1627628600020700
    a
    Colton Idle
    2 replies
    Copy to Clipboard
  • m

    ms

    1 year ago
    I have a Settings screen which shows list of settings item and under each item there will be more settings which shows/hides on parent click but Compose doesn't allow to use
    NestedScrollable
    inside
    Column
    or
    LazyColumn
    code in 🧵
    m
    Colton Idle
    +1
    10 replies
    Copy to Clipboard
  • l

    loloof64

    1 year ago
    Is it possible to make an Accompanist
    FlowRow
    scrollable ? Or to add Scrollbars automatically around it ?
    l
    cb
    2 replies
    Copy to Clipboard
  • Daniel Weidensdörfer

    Daniel Weidensdörfer

    1 year ago
    Let's suppose I have a
    swipeableState
    like in this example: https://developer.android.com/jetpack/compose/gestures#swiping . Since
    swipeableState.snapTo(...)
    is a suspend function, I probably need to call it from a side effect. Whats the correct way to call this function inside of a composable?
    Daniel Weidensdörfer
    m
    +1
    3 replies
    Copy to Clipboard
  • m

    miqbaldc

    1 year ago
    Is it currently not supported smart-cast inside
    when
    for the
    sealed class
    with
    LiveData.observeAsState
    like this code in 🧵?
    m
    carbaj0
    +1
    6 replies
    Copy to Clipboard
  • l

    loloof64

    1 year ago
    What should I use in order to make a
    @Composable
    scrollable ?
    l
    z
    4 replies
    Copy to Clipboard
  • Vsevolod Ganin

    Vsevolod Ganin

    1 year ago
    Is there a way to measure composable without ever displaying or using it? Use case is in 🧵
    Vsevolod Ganin
    k
    5 replies
    Copy to Clipboard
  • Mehdi Haghgoo

    Mehdi Haghgoo

    1 year ago
    How can I use a timer in Compose to for example increment a ticker? The following code does not work:
    var inc by remember{ mutableStateOf(0)}
        remember{object: CountDownTimer(100L, 1L){
            override fun onTick(millisUntilFinished: Long) {
                inc++
            }
    override fun onFinish() {
    }
    }.start() }
    Mehdi Haghgoo
    1 replies
    Copy to Clipboard
  • Neal Sanche

    Neal Sanche

    1 year ago
    I have a text field in a screen that is part of a navigation graph accessed through a bottom nav. When I type something in the text field, and switch to another tab, and then back again, the text field is empty. I was expecting the state to be saved, but if I need to save this text in a ViewModel or something, that's fine. Any ideas what's happening here?
    Neal Sanche
    i
    +1
    28 replies
    Copy to Clipboard