currentCompositeKeyHash

Property

Common

Deprecated Prefer the higher-precision currentCompositeKeyHashCode

public val currentCompositeKeyHash: Int

This a hash value used to coordinate map externally stored state to the composition. For example, this is used by saved instance state to preserve state across activity lifetime boundaries.

This value is likely to be unique but is not guaranteed unique. There are known cases, such as for loops without a key, where the runtime does not have enough information to make the compound key hash unique.