Bundle.SetClassLoader(ClassLoader) Bundle.SetClassLoader(ClassLoader) Method

Definition

Changes the ClassLoader this Bundle uses when instantiating objects.

[Android.Runtime.Register("setClassLoader", "(Ljava/lang/ClassLoader;)V", "")]
public void SetClassLoader (Java.Lang.ClassLoader loader);
member this.SetClassLoader : Java.Lang.ClassLoader -> unit

Parameters

loader
ClassLoader ClassLoader

An explicit ClassLoader to use when instantiating objects inside of the Bundle.

Remarks

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