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

AbstractRecord

abstract class AbstractRecord : Record
kotlin.Any
   ↳ androidx.compose.frames.AbstractRecord

Base implementation of a frame record

Summary

Public constructors

Base implementation of a frame record

Inherited functions

Inherited extension functions

From androidx.compose.frames
T
T.readable(framed: Framed)

Unit
T.withCurrent(block: (r: T) -> Unit)

Provides a block with the current record, without notifying any Frame.readObservers.

T
T.writable(framed: Framed)

T
T.writable(framed: Framed, frame: Frame)

Return a writable frame record for the given record.

From androidx.compose
operator T

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

Properties

open Int

The frame id of the frame in which the record was created.

open Record?

Reference of the next frame record.

Public constructors

<init>

AbstractRecord()

Base implementation of a frame record

Properties

frameId

open var frameId: Int

The frame id of the frame in which the record was created.

next

open var next: Record?

Reference of the next frame record. Frame records are stored in a linked list.