addLater method

void addLater(
  1. Component c

Registers a component to be added on the components on the next tick.

Use this to add components in places where a concurrent issue with the update method might happen. Also calls preAdd for the component added, immediately.


void addLater(Component c) {