LifecycleManager

data class LifecycleManager(val activity: Activity?, val lifecycleOwner: LifecycleOwner, val fragmentManager: FragmentManager, val childFragmentManager: FragmentManager? = null)

A reflection of the manager of a lifecycle.

Parameters

activity

The Activity managing the lifecycle if available.

lifecycleOwner

The LifecycleOwner owning the lifecycle.

fragmentManager

The FragmentManager attached to the lifecycle.

childFragmentManager

Optional FragmentManager that hosts androidx.fragment.app.Fragment with the Fragment owning the lifecycle.

Constructors

Link copied to clipboard
constructor(activity: Activity?, lifecycleOwner: LifecycleOwner, fragmentManager: FragmentManager, childFragmentManager: FragmentManager? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard