- child
- the child to be definitely removed from the view hierarchy
- animate
- if true and the view has an animation, the view is placed in the disappearing views list, otherwise, it is detached from the window
Finishes the removal of a detached view. This method will dispatch the detached from window event and notify the hierarchy change listener.
This method is intended to be lightweight and makes no assumptions about whether the parent or child should be redrawn. Proper use of this method will include also making any appropriate View.RequestLayout or View.Invalidate calls. For example, callers can View.Post(Java.Lang.IRunnable) a Java.Lang.IRunnable which performs a View.RequestLayout on the next frame, after all detach/remove calls are finished, causing layout to be run prior to redrawing the view hierarchy.