Android Guides | Samples

Android.OS.Parcel.ReadHashMap Method

Please use Parcel.ReadBundle(ClassLoader) instead (whose data must have been written with Parcel.WriteBundle(Bundle).

Syntax

[Android.Runtime.Register("readHashMap", "(Ljava/lang/ClassLoader;)Ljava/util/HashMap;", "")]
public IDictionary ReadHashMap (ClassLoader loader)

Parameters

loader

Remarks

Please use Parcel.ReadBundle(ClassLoader) instead (whose data must have been written with Parcel.WriteBundle(Bundle). Read and return a new HashMap object from the parcel at the current dataPosition(), using the given class loader to load any enclosed Parcelables. Returns null if the previously written map object was null.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1