This is called when a container is going to temporarily detach a child, with ViewGroup.DetachViewFromParent(View). It will either be followed by View.OnFinishTemporaryDetach or View.OnDetachedFromWindow when the container is done.
[Android Documentation]