Function

neverEqualPolicy

A policy never treat values of a MutableState as equivalent.

neverEqualPolicy

Source set: Common
public fun <T> neverEqualPolicy(): SnapshotMutationPolicy<T>

A policy never treat values of a MutableState as equivalent.

Setting MutableState.value will always be considered a change. When applying a MutableSnapshot that changes the state will always conflict with other snapshots that change the same state.

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: