SubspaceModifier.Node

abstract class SubspaceModifier.Node


The longer-lived object that is created for each SubspaceModifierNodeElement applied to a SubspaceLayout

Summary

Public constructors

Public functions

open Unit

Called when the node is attached to a SubspaceLayout which is part of the UI tree.

open Unit

Called when the node is not attached to a SubspaceLayout anymore.

Public properties

Boolean

Indicates that the node is attached to a SubspaceLayout which is part of the UI tree.

Public constructors

Node

Added in 1.0.0-alpha05
Node()

Public functions

onAttach

Added in 1.0.0-alpha05
open fun onAttach(): Unit

Called when the node is attached to a SubspaceLayout which is part of the UI tree.

onDetach

Added in 1.0.0-alpha05
open fun onDetach(): Unit

Called when the node is not attached to a SubspaceLayout anymore. Note that the node can be reattached again.

Public properties

isAttached

Added in 1.0.0-alpha05
val isAttachedBoolean

Indicates that the node is attached to a SubspaceLayout which is part of the UI tree. This will get set to true right before onAttach is called, and set to false right after onDetach is called.

See also
onAttach
onDetach