Udostępnij za pośrednictwem


LayoutTransition.RemoveChild(ViewGroup, View) Method

Definition

This method is called by ViewGroup when a child view is about to be removed from the container.

[Android.Runtime.Register("removeChild", "(Landroid/view/ViewGroup;Landroid/view/View;)V", "GetRemoveChild_Landroid_view_ViewGroup_Landroid_view_View_Handler")]
public virtual void RemoveChild (Android.Views.ViewGroup? parent, Android.Views.View? child);
[<Android.Runtime.Register("removeChild", "(Landroid/view/ViewGroup;Landroid/view/View;)V", "GetRemoveChild_Landroid_view_ViewGroup_Landroid_view_View_Handler")>]
abstract member RemoveChild : Android.Views.ViewGroup * Android.Views.View -> unit
override this.RemoveChild : Android.Views.ViewGroup * Android.Views.View -> unit

Parameters

parent
ViewGroup

The ViewGroup from which the View is being removed.

child
View

The View being removed from the ViewGroup.

Attributes

Remarks

This method is called by ViewGroup when a child view is about to be removed from the container. This callback starts the process of a transition; we grab the starting values, listen for changes to all of the children of the container, and start appropriate animations.

Java documentation for android.animation.LayoutTransition.removeChild(android.view.ViewGroup, android.view.View).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to