PreferenceScreen.Bind(ListView) Method

Definition

Binds a ListView to the preferences contained in this PreferenceScreen via #getRootAdapter().

[Android.Runtime.Register("bind", "(Landroid/widget/ListView;)V", "")]
public void Bind (Android.Widget.ListView? listView);
[<Android.Runtime.Register("bind", "(Landroid/widget/ListView;)V", "")>]
member this.Bind : Android.Widget.ListView -> unit

Parameters

listView
ListView

The list view to attach to.

Attributes

Remarks

Binds a ListView to the preferences contained in this PreferenceScreen via #getRootAdapter(). It also handles passing list item clicks to the corresponding Preference contained by this PreferenceScreen.

Java documentation for android.preference.PreferenceScreen.bind(android.widget.ListView).

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