次の方法で共有


ArrayAdapter.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 virtual void Sort (Java.Util.IComparator comparator);
[<Android.Runtime.Register("sort", "(Ljava/util/Comparator;)V", "GetSort_Ljava_util_Comparator_Handler")>]
abstract member Sort : Java.Util.IComparator -> unit
override this.Sort : Java.Util.IComparator -> unit

Parameters

comparator
IComparator

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

Attributes

Remarks

Sorts the content of this adapter using the specified comparator.

Java documentation for android.widget.ArrayAdapter.sort(java.util.Comparator<? super T>).

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