AxerInitializer

Public Initializer entry point for Axer's androidx.startup setup.

Client apps that have their own Initializer and want to access Axer (e.g. AxerBundledSQLiteDriver, Axer.configure) from inside it can declare a dependency on this class:

override fun dependencies() = listOf(AxerInitializer::class.java)

This guarantees Axer's internal Koin/context wiring is ready before the client initializer runs. Without an explicit dependency the order is undefined and Axer may be touched before its own initializer has executed.

Constructors

Link copied to clipboard
constructor()

Functions

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