Shakil Karim
07/27/2021, 11:05 AMShakil Karim
07/27/2021, 11:08 AMNathan Castlehow
07/27/2021, 12:07 PMNathan Castlehow
07/27/2021, 12:19 PMval immutableMap:Map<String,Any?>? = mapOf(Pair("test", mutableListOf(1)))
(immutableMap!!["test"] as MutableList<Int>).add(2)
Above is my thinking why its not immutable. Compose would not be notified when you added the item to the mutable list.mcpiroman
07/27/2021, 12:21 PMNathan Castlehow
07/27/2021, 12:22 PMNathan Castlehow
07/27/2021, 12:24 PM