ArrayAdapter<T>.Sort(IComparator) Method

Definition

Sorts the content of this adapter using the specified comparator.

[Android.Runtime.Register("sort", "(Ljava/util/Comparator;)V", "GetSort_Ljava_util_Comparator_Handler")]
public void Sort(Java.Util.IComparator comparator);
[<Android.Runtime.Register("sort", "(Ljava/util/Comparator;)V", "GetSort_Ljava_util_Comparator_Handler")>]
override this.Sort : Java.Util.IComparator -> unit

Parameters

comparator
IComparator

Comparator : The comparator used to sort the objects contained in this adapter.

Attributes

Remarks

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.

Java documentation for ArrayAdapter.

Applies to