AppInitializer
public
final
class
AppInitializer
extends Object
java.lang.Object
|
↳ |
androidx.startup.AppInitializer
|
An AppInitializer
can be used to initialize all discovered [ComponentInitializer]s.
The discovery mechanism is via `` entries in the merged `AndroidManifest.xml`.
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public methods
initializeComponent
public T initializeComponent (Class<? extends Initializer<T>> component)
Initializes a Initializer
class type.
Returns |
T |
The initialized instance
|
isEagerlyInitialized
public boolean isEagerlyInitialized (Class<? extends Initializer<?>> component)
Returns true
if the Initializer
was eagerly initialized..
Parameters |
component |
Class : The Initializer class to check |
Returns |
boolean |
true if the Initializer was eagerly initialized.
|