79595438

Date: 2025-04-27 20:03:01
Score: 1
Natty:
Report link

I've had this same problem. The way I do it so re-composition happens when parts of the list is changed is by using SnapshotStateList

 val listOpenItems = remember { SnapshotStateList<Boolean>() }

SnapshotStateList is both a state object and a mutable list.

SnapshotStateList Documentation

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Waffler