getLifecycleOwner

fun getLifecycleOwner(): LifecycleOwner

Get LifecycleOwner of this Fragment from other classes.

This can be useful to use observers with this LifecycleOwner in other classes.