KeyInfo

class KeyInfo
kotlin.Any
   ↳ androidx.compose.KeyInfo

Information about groups and their keys.

Summary

Public constructors

<init>(key: Any, location: Int, nodes: Int, index: Int)

Information about groups and their keys.

Properties

Int

The index of the key info in the list returned by extractKeys

Any

The group key.

Int

The location of the group.

Int

The number of nodes in the group.

Public constructors

<init>

KeyInfo(
    key: Any,
    location: Int,
    nodes: Int,
    index: Int)

Information about groups and their keys.

Properties

index

val index: Int

The index of the key info in the list returned by extractKeys

key

val key: Any

The group key.

location

val location: Int

The location of the group.

nodes

val nodes: Int

The number of nodes in the group. If the group is a node this is always 1.