Android Guides | Samples

Android.OS.Parcel.ReadSparseArray Method

Read and return a new SparseArray object from the parcel at the current dataPosition().

Syntax

[Android.Runtime.Register("readSparseArray", "(Ljava/lang/ClassLoader;)Landroid/util/SparseArray;", "")]
public SparseArray ReadSparseArray (ClassLoader loader)

Parameters

loader

Remarks

Read and return a new SparseArray object from the parcel at the current dataPosition(). Returns null if the previously written list object was null. The given class loader will be used to load any enclosed Parcelables.

[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