Compartilhar via


LayoutTransition.ShowChild Method

Definition

Overloads

ShowChild(ViewGroup, View)
Obsolete.

This member is deprecated.

ShowChild(ViewGroup, View, ViewStates)

This method is called by ViewGroup when a child view is about to be made visible in the container.

ShowChild(ViewGroup, View)

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("showChild", "(Landroid/view/ViewGroup;Landroid/view/View;)V", "GetShowChild_Landroid_view_ViewGroup_Landroid_view_View_Handler")]
[System.Obsolete("deprecated")]
public virtual void ShowChild (Android.Views.ViewGroup? parent, Android.Views.View? child);
[<Android.Runtime.Register("showChild", "(Landroid/view/ViewGroup;Landroid/view/View;)V", "GetShowChild_Landroid_view_ViewGroup_Landroid_view_View_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member ShowChild : Android.Views.ViewGroup * Android.Views.View -> unit
override this.ShowChild : Android.Views.ViewGroup * Android.Views.View -> unit

Parameters

parent
ViewGroup
child
View
Attributes

Remarks

This member is deprecated. Use #showChild(android.view.ViewGroup, android.view.View, int).

Java documentation for android.animation.LayoutTransition.showChild(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

ShowChild(ViewGroup, View, ViewStates)

This method is called by ViewGroup when a child view is about to be made visible in the container.

[Android.Runtime.Register("showChild", "(Landroid/view/ViewGroup;Landroid/view/View;I)V", "GetShowChild_Landroid_view_ViewGroup_Landroid_view_View_IHandler")]
public virtual void ShowChild (Android.Views.ViewGroup? parent, Android.Views.View? child, Android.Views.ViewStates oldVisibility);
[<Android.Runtime.Register("showChild", "(Landroid/view/ViewGroup;Landroid/view/View;I)V", "GetShowChild_Landroid_view_ViewGroup_Landroid_view_View_IHandler")>]
abstract member ShowChild : Android.Views.ViewGroup * Android.Views.View * Android.Views.ViewStates -> unit
override this.ShowChild : Android.Views.ViewGroup * Android.Views.View * Android.Views.ViewStates -> unit

Parameters

parent
ViewGroup

The ViewGroup in which the View is being made visible.

child
View

The View being made visible.

oldVisibility
ViewStates

The previous visibility value of the child View, either View#GONE or View#INVISIBLE.

Attributes

Remarks

This method is called by ViewGroup when a child view is about to be made visible in 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.showChild(android.view.ViewGroup, android.view.View, int).

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