I'm new to jetpack compose and learning it from code of JetpackCompose Basics
so I have found in the create a performant lazy list
Note: LazyColumn doesn't recycle its children like
RecyclerView. It emits newComposablesas you scroll through it and is still performant, as emittingComposablesis relatively cheap compared to instantiating Android Views.
so how emitting new composable is cheap and performant, and then why not to just using column and compose the whole list for one time instead of keep emitting composable items while scrolling even if the emitting composables is only the items visible by layout
Update : if the visible items is 10, so before user scroll the items from 0 to 9 is visible and has been rendered, now the user has scrolled up and the visible items from 5 to 14, is jetpack compose removed the 5 items that have been previously rendered and if user scroll down, they will be recomposed or jetpack compose keep all rendered views in memory no matter if it visible or not