TomTomMapApplier

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class TomTomMapApplier : AbstractApplier<TomTomMapNode>

TomTomMap node Applier.

The applier calls TomTomMapNode.onAttached before child nodes are created and attached. When the composition is disposed, the applier will call on each node TomTomMapNode.onDetached after the child nodes of the node are detached.

Each node is provided with the TomTomMapNodeContext when TomTomMapNode.attach is called.

Example usages:

class CustomElementNode : TomTomMapNode()

@Composable
@TomTomMapComposable
fun CustomElement() {
ComposeNode<CustomElementNode, TomTomMapApplier>(
factory = { CustomElementNode() },
update = {}
)
}

@Composable
fun MapScreen() {
TomTomMap() {
CustomNode()
}
}

Inherited properties

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

Functions

Link copied to clipboard
open override fun insertBottomUp(index: Int, instance: TomTomMapNode)
Link copied to clipboard
open override fun insertTopDown(index: Int, instance: TomTomMapNode)
Link copied to clipboard
open override fun move(from: Int, to: Int, count: Int)
Link copied to clipboard
open override fun remove(index: Int, count: Int)

Inherited functions

Link copied to clipboard
open fun apply(block: TomTomMapNode.(Any?) -> Unit, value: Any?)
Link copied to clipboard
override fun clear()
Link copied to clipboard
open override fun down(node: TomTomMapNode)
Link copied to clipboard
open fun onBeginChanges()
Link copied to clipboard
open fun onEndChanges()
Link copied to clipboard
open fun reuse()
Link copied to clipboard
open override fun up()