Condividi tramite


LayoutTransition.HideChild Method

Definition

Overloads

HideChild(ViewGroup, View, ViewStates)

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

HideChild(ViewGroup, View)
Obsolete.

This member is deprecated.

HideChild(ViewGroup, View, ViewStates)

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

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

Parameters

parent
ViewGroup

The parent ViewGroup of the View being hidden.

child
View

The View being hidden.

newVisibility
ViewStates

The new 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 hidden in 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.hideChild(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

HideChild(ViewGroup, View)

Caution

deprecated

This member is deprecated.

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

Parameters

parent
ViewGroup
child
View
Attributes

Remarks

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

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