ContextInitializer

An Initializer for setting up the global application context.

This class is used with AndroidX Startup to ensure the application context is initialized before other components that might rely on it.

See also

ContextBinder
ContextBinder.context

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun create(context: Context)

Initializes the global application context.

Link copied to clipboard
open override fun dependencies(): List<Class<out Initializer<*>>>

Specifies that this initializer has no dependencies.