• Indu

    Indu

    1 year ago
    The y position of the composable changes when the state that is used for changing the shape or color of the composable gets updated.
    Indu
    Zach Klippenstein (he/him) [MOD]
    7 replies
    Copy to Clipboard
  • m

    ms

    1 year ago
    @cb can we expect a drag n drop or reorder feature in
    flowlayout
    anytime soon?
    m
    1 replies
    Copy to Clipboard
  • Adib Faramarzi

    Adib Faramarzi

    1 year ago
    has anyone tried compose (beta-08) with kotlin 1.5.20-RC?
    Adib Faramarzi
    2 replies
    Copy to Clipboard
  • Mayank Saini

    Mayank Saini

    1 year ago
    I am trying to setup an animation for the search view here. The behavior should be, as soon as the user hit the search bar it should collapse and move to the top right next to the back button*(Screen 2)* and if I hit the back button it should return to the previous position in expanded form*(Screen 1)*.
    Mayank Saini
    Shakil Karim
    +2
    5 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    There's no text "linkify" in compose right? I have a
    Text
    that contains an email and I want to just make it clickable. Do I have to basically just set up something like this or is there something simpler that I'm missing?
    Colton Idle
    brandonmcansh
    +3
    11 replies
    Copy to Clipboard
  • Shakil Karim

    Shakil Karim

    1 year ago
    Is there any easy way to hide bottom sheet completely not just half collapse?
    Shakil Karim
    Rafs
    +2
    12 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    Has anyone implemented a tinder-like interface? Essentially a stack of cards thats swipeable? Going to attempt to build something myself, but curious if there is some kind of good starting off point.
    Colton Idle
    Rafs
    +1
    5 replies
    Copy to Clipboard
  • z

    Zun

    1 year ago
    What would be the correct way of passing a default value to a ViewModel inside a composable, one that can be accessed inside its
    init
    function? Context in thread
    z
    brandonmcansh
    5 replies
    Copy to Clipboard
  • Akram Bensalem

    Akram Bensalem

    1 year ago
    How to make step by step wizard in compose ? Is there any example code ?
    Akram Bensalem
    n
    3 replies
    Copy to Clipboard
  • d

    Daniele B

    1 year ago
    I verified a different recomposition behavior between
    1.0.0-beta07
    and
    1.0.0-beta08
    This is the code:
    LazyColumn {
        stickyHeader {
            CountriesListHeader()
        }
        items(items = countriesListState.countriesListItems, itemContent = { item ->
            CountriesListRow(
                item = item,
                favorite = countriesListState.favoriteCountries.containsKey(item.name)
        })
    }
    In case
    countriesListItems
    hasn’t changed but
    favoriteCountries
    has changed: • in beta07,
    items
    recompose (and that’s what I would expect, as in
    CountriesListRow
    the
    favorite
    parameter depends on
    favoriteCountries
    ) • in beta08,
    items
    don’t recompose, as it seems Compose is just monitoring changes of
    countriesListItems
    and not
    favoriteCountries
    Is this a bug, or I should structure my code differently?
    d
    s
    +1
    5 replies
    Copy to Clipboard