Relative Content

Tag Archive for androidandroid-jetpack-composeandroid-jetpackcompose-recompositionnative-android

why in jetpack compose remove always last item from screen

I have stateFlow of objects in viewmodel, in ui I draw them in forEach loop, I don’t need lazy column in my case, because all my items in zoomable and drawable. when I remove certain item from list by id it removes correctly but on ui I always see that disappear not object I have delete but last object. how to fix that.