Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

ConsumedData

@Immutable data class ConsumedData
kotlin.Any
   ↳ androidx.ui.core.ConsumedData

Describes what aspects of, and how much of, a change has been consumed.

Summary

Public constructors
<init>(positionChange: Offset = Offset.Zero, downChange: Boolean = false)

Describes what aspects of, and how much of, a change has been consumed.

Properties
Boolean

True if a change to down or up has been consumed.

Offset

The amount of change to the position that has been consumed.

Public constructors

<init>

ConsumedData(
    positionChange: Offset = Offset.Zero,
    downChange: Boolean = false)

Describes what aspects of, and how much of, a change has been consumed.

Parameters
positionChange: Offset = Offset.Zero The amount of change to the position that has been consumed.
downChange: Boolean = false True if a change to down or up has been consumed.

Properties

downChange

val downChange: Boolean

True if a change to down or up has been consumed.

positionChange

val positionChange: Offset

The amount of change to the position that has been consumed.