ArrayAdapter<T>.Sort(IComparator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.