AppComponentFactory

Class of android.app · AppComponentFactory.java · Android's reference

public class AppComponentFactory

Makes the app's components: AndroidX installs its own, and the runtime calls it as Android's does.

Fields

public static final AppComponentFactory DEFAULT source

Constructors

public AppComponentFactory() empty body source

Methods

public ClassLoader instantiateClassLoader(ClassLoader cl, ApplicationInfo aInfo) source
public Application instantiateApplication(ClassLoader cl, String className) throws InstantiationException, IllegalAccessException, ClassNotFoundException source
public Activity instantiateActivity(ClassLoader cl, String className, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException source
public BroadcastReceiver instantiateReceiver(ClassLoader cl, String className, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException source
public Service instantiateService(ClassLoader cl, String className, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException source
public ContentProvider instantiateProvider(ClassLoader cl, String className) throws InstantiationException, IllegalAccessException, ClassNotFoundException source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.