Share via


View.OnStartTemporaryDetach Method

Definition

This is called when a container is going to temporarily detach a child, with ViewGroup#detachViewFromParent(View) ViewGroup.detachViewFromParent.

[Android.Runtime.Register("onStartTemporaryDetach", "()V", "GetOnStartTemporaryDetachHandler")]
public virtual void OnStartTemporaryDetach ();
[<Android.Runtime.Register("onStartTemporaryDetach", "()V", "GetOnStartTemporaryDetachHandler")>]
abstract member OnStartTemporaryDetach : unit -> unit
override this.OnStartTemporaryDetach : unit -> unit
Attributes

Remarks

This is called when a container is going to temporarily detach a child, with ViewGroup#detachViewFromParent(View) ViewGroup.detachViewFromParent. It will either be followed by #onFinishTemporaryDetach() or #onDetachedFromWindow() when the container is done.

Java documentation for android.view.View.onStartTemporaryDetach().

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