Thread
#compose
    Kevin Janvier Chinabalire

    Kevin Janvier Chinabalire

    2 years ago
    Hello guys i have just started #compose journey today and i will like to get some tutorial . like how to use
    recyclerview
    will fetch data from remote using retrofit . Can i use it to generate ios app like flutter ?
    Luca Nicoletti

    Luca Nicoletti

    2 years ago
    There’s not
    recyclerview
    for now on
    Compose
    , just use Rows and Columns with a lot of childred in them
    No, right now
    Compose
    is only on Android, not
    Kotlin Native
    Paul Woitaschek

    Paul Woitaschek

    2 years ago
    And is there scrolling at all?
    Just found verticalscroller. But I assume it's not lazily but layouts everything at once?
    Luca Nicoletti

    Luca Nicoletti

    2 years ago
    Yes, but since
    Drawing
    on canvas is faster than loading a resource file and populating it, it’s quite fast
    I gave it a try with thousands of elements (even with cards, sort of complex layouts) and it’s fast enough
    Pablichjenkov

    Pablichjenkov

    2 years ago
    In RecyclerView resource inflation just happens when the cell view is created. After that, a pool of these cell Views are reused. Anyhows, The recycling API may become obsolete. Recycling may happen at the Composable group type level. We probably won't need to give the recyclerview an integer that identify the type of a cell. The scroller could be smart enough to identify when a group is out of the screen and reuse it later. Similar to what Litho does
    r

    Ryan Mentley

    2 years ago
    we will have a RecyclerView replacement, it's just not ready yet. For now, our samples are eagerly composing their children.