The Developer Preview for Android 11 is now available; test it out and share your feedback.

ConsumedData

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: PxPosition = PxPosition.Origin, downChange: Boolean = false)

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

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

Boolean

PxPosition

Public constructors

<init>

ConsumedData(
    positionChange: PxPosition = PxPosition.Origin,
    downChange: Boolean = false)

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

Properties

downChange

val downChange: Boolean

positionChange

val positionChange: PxPosition