Common
inner class Entry(
val id: Int,
val throttleMillis: Long,
val debounceMillis: Long,
val node: DelegatableNode,
val callback: (RelativeLayoutBounds) -> Unit,
) : RegistrationHandle
Entry for a throttled callback for RelativeLayoutBounds associated to the given node.
Supports a linked-list structure for multiple callbacks on the same node through next.
Properties
Common
var next: Entry?
Common
var topLeft: Long
Common
var bottomRight: Long
Common
var lastInvokeMillis: Long
Common
var lastUninvokedFireMillis: Long
Functions
fire
fun fire(
topLeft: Long,
bottomRight: Long,
windowOffset: IntOffset,
screenOffset: IntOffset,
viewToWindowMatrix: Matrix?,
)