AndroidContextInitializer

class AndroidContextInitializer : Initializer<<Error class: unknown class>>

AndroidX App Startup component that captures the application Context for the library to use later.

Registered automatically through AndroidManifest.xml — no consumer code is required. The initializer runs before the application's first android.app.Activity sees onCreate, so any subsequent call to androidApplicationContext is guaranteed to find a non-null reference.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun create(context: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun dependencies(): List<Class<out Initializer<*>>>