Kshitij Patil
12/01/2020, 7:24 AMLazyColumnFor ? Like adding or removing items and expect the changes to be reflected in the LazyColumn ?
Something like adapter.notifyDatasetChanged() we used to do with RecyclerViewTimo Drick
12/01/2020, 9:36 AMval list: SnapshotStateList<YouDataType> = mutableStateListOf()
When you change this list using add, remove, ... the UI will refresh automaticallyKshitij Patil
12/01/2020, 9:57 AMLazyColumn
I'm concerned whether there are any performance hits by doing so?Timo Drick
12/01/2020, 10:12 AMDominaezzz
12/01/2020, 10:13 AMSnapshotStateList does granular updates, State<List<...>> does not.