Emittable

interface Emittable
androidx.compose.Emittable

The Emittable interface tells Compose that the implementing class represents a primitive node/type in the view hierarchy produced as a result of composition. Conceptually similar to a RenderObject in flutter. The result of composition is an updated tree of Emittables, which Compose will maintain/mutate over time as subsequent reconciliations are calculated.

Summary

Public methods

abstract Unit
emitInsertAt(index: Int, instance: Emittable)

abstract Unit
emitMove(from: Int, to: Int, count: Int)

abstract Unit
emitRemoveAt(index: Int, count: Int)

Public methods

emitInsertAt

abstract fun emitInsertAt(
    index: Int,
    instance: Emittable
): Unit

emitMove

abstract fun emitMove(
    from: Int,
    to: Int,
    count: Int
): Unit

emitRemoveAt

abstract fun emitRemoveAt(
    index: Int,
    count: Int
): Unit