Package-level declarations
Types
A LifecycleSubscribable bound to an Android LifecycleManager. Implementations typically grab the Activity reference out of manager to call Activity-scoped APIs (in-app review prompts, finding SurfaceViews in the view hierarchy, …).
Default implementation that just stores the current manager.
Default implementation storing the current manager.
Default implementation storing the current manager.
An ActivityLifecycleSubscribable that exposes ActivityLifecycleSubscribable.manager as a hot StateFlow.
Marker for any object that wants to bind to a platform host's lifecycle. Implementations live in platform-specific source sets (ActivityLifecycleSubscribable on Android, ViewControllerLifecycleSubscribable on iOS, WindowLifecycleSubscribable on macOS) and own a manager property exposing the host handle (Activity, UIViewController, NSWindow).
A LifecycleSubscribable bound to an iOS UIViewController. Implementations grab the controller off manager to call presentation APIs (e.g. presenting media, modals, in-app pickers) that need an originating view controller.
A LifecycleSubscribable bound to a macOS NSWindow. Implementations grab the window off manager to find native AppKit views in its content view (e.g. an AVPlayerView host for the native-AppKit media path) or to anchor window-modal sheets.
Functions
Convenience: subscribe an AppCompatActivity using its default LifecycleOwner and FragmentManager.
Convenience: subscribe a Fragment using its default LifecycleOwner and FragmentManagers.
Subscribe a LifecycleOwner without inner fragment manager.
Subscribe a LifecycleOwner with an inner FragmentManager.
Subscribe with a raw UIViewController.
Subscribe with a raw NSWindow.