The android.view.ViewGroup instance from where child should be removed.
The child to be removed from the android.view.ViewGroup.
safeRemoveChild(Object,Object) Method
Removes a child if it is not null and the @code:viewGroup is not null.
Syntax
public static void safeRemoveChild( 
   java.lang.Object viewGroup,
   java.lang.Object child
)

Parameters

viewGroup
The android.view.ViewGroup instance from where child should be removed.
child
The child to be removed from the android.view.ViewGroup.
See Also