LifecycleSubscribable
interface LifecycleSubscribable
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).
Cross-platform consumers (typically Kaluga ViewModels or service builders) hold a LifecycleSubscribable so they can be wired into any host. The wiring itself is done either by a Kaluga BaseLifecycleViewModel or by the Compose adapter in :lifecycle-compose (LifecycleSubscribable.AttachToCompose()), which dispatches to the appropriate platform subtype based on the current Compose context.