k

    Kshitij Patil

    1 year ago
    When to use
    ScrollableColumn
    vs
    LazyColumn
    ? Is it equivalent to RecyclerView vs ListView?
    Sinan Gunes

    Sinan Gunes

    1 year ago
    afaik
    LazyColumn
    has similar use with
    RecyclerView
    . I don't know their difference in detail, but it seems their implementations are totally different. However both are optimized for large lists.
    Prashant Priyadarshi

    Prashant Priyadarshi

    1 year ago
    personally I use scrollableColumn for laying out UI for the screen, while LazyColumn for something like fetching 100's of items from room db table and showing them also just check .. i think using ScrollableColumn with lots of different images for a list should give out of memory error... LazyColumn is like RecyclerView, so at a time only 5-10 items are loaded i.e the ones showing on screen
    Dominaezzz

    Dominaezzz

    1 year ago
    The former is going to be deprecated.
    Adam Powell

    Adam Powell

    1 year ago
    Right, replaced by a modifier that adds the scrolling behavior to any container
    Colton Idle

    Colton Idle

    1 year ago
    Interesting. First time reading about scrollableColumn. Can someone let me know if I'm right here with my train of thought1. I treat lazy column like a recyclerView 2. I treat a regular column for just a vertical linear layout
    Sinan Gunes

    Sinan Gunes

    1 year ago
    that is my understanding as well.
    Adam Powell

    Adam Powell

    1 year ago
    ScrollableColumn : ScrollView :: LazyColumn : RecyclerView