IsometricApplier

Custom Applier that teaches the Compose runtime how to build and update the isometric node tree.

This is the bridge between Compose's declarative API and our imperative node tree.

Constructors

Link copied to clipboard
constructor(root: GroupNode)

Properties

Link copied to clipboard
open override var current: IsometricNode
Link copied to clipboard

Functions

Link copied to clipboard
override fun clear()
Link copied to clipboard
open override fun down(node: IsometricNode)
Link copied to clipboard
open override fun insertBottomUp(index: Int, instance: IsometricNode)

Insert nodes bottom-up. This is called after the entire subtree has been composed.

Link copied to clipboard
open override fun insertTopDown(index: Int, instance: IsometricNode)

Insert nodes top-down. We ignore this and use bottom-up insertion for efficiency.

Link copied to clipboard
open override fun move(from: Int, to: Int, count: Int)

Move nodes within the same parent

Link copied to clipboard
open override fun onBeginChanges()
Link copied to clipboard
open override fun onEndChanges()
Link copied to clipboard
open override fun remove(index: Int, count: Int)

Remove nodes from the tree

Link copied to clipboard
open override fun up()