AppComponentFactory.InstantiateClassLoader(ClassLoader, ApplicationInfo) Method

Definition

Selects the class loader which will be used by the platform to instantiate app components.

[Android.Runtime.Register("instantiateClassLoader", "(Ljava/lang/ClassLoader;Landroid/content/pm/ApplicationInfo;)Ljava/lang/ClassLoader;", "GetInstantiateClassLoader_Ljava_lang_ClassLoader_Landroid_content_pm_ApplicationInfo_Handler", ApiSince=29)]
public virtual Java.Lang.ClassLoader InstantiateClassLoader (Java.Lang.ClassLoader cl, Android.Content.PM.ApplicationInfo aInfo);
[<Android.Runtime.Register("instantiateClassLoader", "(Ljava/lang/ClassLoader;Landroid/content/pm/ApplicationInfo;)Ljava/lang/ClassLoader;", "GetInstantiateClassLoader_Ljava_lang_ClassLoader_Landroid_content_pm_ApplicationInfo_Handler", ApiSince=29)>]
abstract member InstantiateClassLoader : Java.Lang.ClassLoader * Android.Content.PM.ApplicationInfo -> Java.Lang.ClassLoader
override this.InstantiateClassLoader : Java.Lang.ClassLoader * Android.Content.PM.ApplicationInfo -> Java.Lang.ClassLoader

Parameters

cl
ClassLoader

The default class loader created by the platform.

aInfo
ApplicationInfo

Information about the application being loaded.

Returns

ClassLoader
Attributes

Remarks

Java documentation for android.app.AppComponentFactory.instantiateClassLoader(java.lang.ClassLoader, android.content.pm.ApplicationInfo).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to