Function

mutableStateSetOf

Create a instance of MutableSet that is observable and can be snapshot.

mutableStateSetOf

Source set: Common
@StateFactoryMarker public fun <T> mutableStateSetOf(): SnapshotStateSet<T>

Create a instance of MutableSet that is observable and can be snapshot.

The returned set iteration order is in the order the items were inserted into the set.

mutableStateSetOf

Source set: Common
public fun <T> mutableStateSetOf(vararg elements: T): SnapshotStateSet<T>

Create an instance of MutableSet that is observable and can be snapshot.

The returned set iteration order is in the order the items were inserted into the set.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: