requireContainerLifecycleOwner
Deprecated
To prevent potential memory leaks, this API will be removed.
If this ViewGroup has a ViewDataBinding associated with it, it will find it and return the associated LifecycleOwner. It will traverse its parents all through the view hierarchy searching for the first LifecycleOwner it encounters.
Throws
when no LifecycleOwner has been set.