public class NodeConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
NodeConfig.InternalNodeFactory |
static interface |
NodeConfig.InternalYogaNodeFactory |
| Modifier and Type | Field and Description |
|---|---|
static NodeConfig.InternalNodeFactory |
sInternalNodeFactory
Factory to create custom InternalNodes for Components.
|
static NodeConfig.InternalYogaNodeFactory |
sYogaNodeFactory
Custom factory for Yoga nodes.
|
| Constructor and Description |
|---|
NodeConfig() |
| Modifier and Type | Method and Description |
|---|---|
static YogaConfig |
getYogaConfig()
Allows access to the internal YogaConfig instance
|
static void |
setPrintYogaDebugLogs(boolean enable)
Toggles a Yoga setting on whether to print debug logs to adb.
|
public static volatile NodeConfig.InternalYogaNodeFactory sYogaNodeFactory
public static volatile NodeConfig.InternalNodeFactory sInternalNodeFactory
public static void setPrintYogaDebugLogs(boolean enable)
enable - whether to print logs or notpublic static YogaConfig getYogaConfig()