Android 12 Developer Preview is here! Try it out, and give us your feedback!

androidx.startup

Interfaces

Initializer<T> Initializers can be used to initialize libraries during app startup, without the need to use additional ContentProviders. 

Classes

AppInitializer An AppInitializer can be used to initialize all discovered [ComponentInitializer]s. 
InitializationProvider The ContentProvider which discovers Initializers in an application and initializes them before Application.onCreate()