KotlinLeaner
01/03/2023, 12:09 PMMutableSet
with mutableStateListOf
?
val list by lazy { mutableStateListOf<ScanResult>() }
Many ThanksZach Klippenstein (he/him) [MOD]
01/03/2023, 12:15 PMZach Klippenstein (he/him) [MOD]
01/03/2023, 12:15 PMmutableStateSetOf
, but there is mutableStateMapOf
which you can treat like a set by storing Unit
or null
as the valuesKotlinLeaner
01/03/2023, 12:16 PMZach Klippenstein (he/him) [MOD]
01/03/2023, 12:19 PM