Bundle.SetClassLoader(ClassLoader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the ClassLoader this Bundle uses when instantiating objects.
[Android.Runtime.Register("setClassLoader", "(Ljava/lang/ClassLoader;)V", "")]
public void SetClassLoader (Java.Lang.ClassLoader? loader);
[<Android.Runtime.Register("setClassLoader", "(Ljava/lang/ClassLoader;)V", "")>]
member this.SetClassLoader : Java.Lang.ClassLoader -> unit
Parameters
- loader
- ClassLoader
An explicit ClassLoader to use when instantiating objects inside of the Bundle.
- Attributes
Remarks
Changes the ClassLoader this Bundle uses when instantiating objects.
Java documentation for android.os.Bundle.setClassLoader(java.lang.ClassLoader)
.
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.