Invalid state means requires layout. Deinitialize means no longer visible to the user.
Say you want to delete a component and want it to fly out of the screen. Maybe even fade out while doing it.
myComponent.setX(getDisplayWidth());
myContainer.animateUnlayoutAndWait(400);
myComponent.remove();
myContainer.animateLayout(200);
I set the X of the component out of bounds. Then I call animate unlayout which returns the X to the original position in the layout, then animates the component out of the screen to the invalid position. This effectively gives the visual effect of a component "flying out". Now the component is no longer visible but there is a gap where it was. If I left it at that the component would return in the next layout operation...
I then remove the component as it's no longer necessary and run an animateLayout (which is the equivalent of revalidate) to layout the code. It will let the other components fill the gap left by the removed component with a nice animation.