Android Guides | Samples

Android.Widget.ListView Constructor

A constructor used when creating managed representations of JNI objects; called by the runtime.

Syntax

protected ListView (IntPtr javaReference, JniHandleOwnership transfer)

Parameters

javaReference
A IntPtrcontaining a Java Native Interface (JNI) object reference.
transfer
A JniHandleOwnershipindicating how to handle javaReference

Remarks

This constructor is invoked by the runtime infrastructure (Java.Lang.Object.GetObject``1(IntPtr, Android.Runtime.JniHandleOwnership)) to create a new managed representation for a Java Native Interface object.

The constructor will initializes the IJavaObject.Handle property of the new instance using javaReference and transfer.

Requirements

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