• Orhan Tozan

    Orhan Tozan

    1 year ago
    Inside a Column, that has 3 elements with 2 of them having fixed height, how can I let the 3rd fill the remaining space BUT with a max height of x? I tried .heightIn(max = x ) with .weight(1f) but it seems that the max height doesn't seem to affect when weight is specified.
    Orhan Tozan
    1 replies
    Copy to Clipboard
  • z

    Zun

    1 year ago
    Is there a nicer way of underlining a "subtitle2" other than
    .subtitle2.merge(TextStyle(textDecoration = TextDecoration.Underline))
    z
    Bryan Herbst
    4 replies
    Copy to Clipboard
  • Dominaezzz

    Dominaezzz

    1 year ago
    I'm currently having an issue with scrolling in
    LazyColumn
    where it keeps snapping back https://github.com/JetBrains/compose-jb/issues/800 . I couldn't create a small reproducer so I've decided to just debug it myself. I've tracked it down to the
    measureLazyList
    function, which is where scroll is consumed but it's really big 😩 , any idea for what I should look for or how to narrow it down?
    Dominaezzz
    Zach Klippenstein (he/him) [MOD]
    2 replies
    Copy to Clipboard
  • t

    tad

    1 year ago
    I think @Adam Powell might have something to say about this article: https://medium.com/google-developer-experts/jetpack-compose-missing-piece-to-the-mvi-puzzle-44c0e60b571
    t
    Adam Powell
    +3
    47 replies
    Copy to Clipboard
  • Tash

    Tash

    1 year ago
    Using
    AnimatedVisibility
    & trying to dynamically update the transition values by calculating them based on mutable states; so, when a component enters/exits the enter/exit animation can be different every time. Just wanted to get some feedback on the approach 🧵
    Tash
    Doris Liu
    6 replies
    Copy to Clipboard
  • k

    kevindmoore

    1 year ago
    I think I might be going crazy but I keep commenting out Compose code and when I rerun the app, it still shows code from awhile ago
    k
    j
    +3
    12 replies
    Copy to Clipboard
  • g

    Gaurav Tyagi

    1 year ago
    Hi
    editTextPhone.setKeyListener(DigitsKeyListener.getInstance("0123456789"));
    how can achieves it in compose edit text
    g
    z
    3 replies
    Copy to Clipboard
  • a

    Abhishek Dewan

    1 year ago
    Hey everyone, I have been experimenting trying to write a custom theme composable quite similar to how Jetcaster Sample App is implementing it. In order to help debug areas that I might have missed applying my custom theme color, I've made all of my Material colors to a bright yellow. Now the problem I've seeing is that when I have a simple NavHost that hosts multiple screens and I move between the screen, the bright yellow color I've set flashes for a second before my custom theme colors take over (as you may be able to see in the video). Is this a bug or is this how it was intended to be ?
    a
    Tash
    4 replies
    Copy to Clipboard
  • Ravi

    Ravi

    1 year ago
    hi I’m facing recomposition issue, more in 🧵
    Ravi
    6 replies
    Copy to Clipboard
  • m

    ms

    1 year ago
    AnimatedVisibility
    is not getting shown even
    mutableStateOf
    is true Code in 🧵
    m
    Tash
    3 replies
    Copy to Clipboard