Oliver.O
02/07/2023, 5:28 PMLazyColumn
), right?
Background: Demos such as compose/foundation/demos/LazyColumnDragAndDropDemo.kt
replace the entire list when adding/removing an element. This is less than ideal for really large lists which are backed by a fully synchronized data source (i.e. no such thing as "refresh").
Suggested solution in 🧵.LazyListState
. Rebuild the above on insertions/deletions (the number of visible items is low), basically replacing the (small) item list.
Does that make sense? Better ideas?Arkadii Ivanov
02/07/2023, 5:53 PMmutableStateListOf
?Oliver.O
02/07/2023, 5:56 PMArkadii Ivanov
02/07/2023, 6:05 PMOliver.O
02/07/2023, 6:12 PMste
02/07/2023, 7:11 PMOliver.O
02/07/2023, 7:27 PMTobias Suchalla
02/08/2023, 2:56 PMOliver.O
02/08/2023, 3:01 PMDominaezzz
02/08/2023, 8:45 PMOliver.O
02/08/2023, 8:47 PMDominaezzz
02/08/2023, 8:48 PM