ActivityScope

A scope that is tied to the lifecycle of an Activity. It is created when the Activity is created and destroyed when the Activity is destroyed. Uses JvmInline for performance optimization by avoiding a wrapper class allocation at runtime.

Constructors

Link copied to clipboard
constructor(scope: DefaultScope)

Properties

Link copied to clipboard
open override val scope: DefaultScope

The underlying core DefaultScope instance.

Functions

Link copied to clipboard
open override fun closeAll()
Link copied to clipboard
open override fun declare(qualifier: Qualifier, instance: Any)
Link copied to clipboard
open override fun get(qualifier: Qualifier): Any
Link copied to clipboard
open override fun getSubScope(qualifier: Qualifier): Scope
Link copied to clipboard
open override fun registerFactory(vararg modules: DependencyModule)
Link copied to clipboard
open override fun resolvePath(path: Path): Scope