LocaleDisplayNames.GetUiListCompareWholeItems Method

Definition

Return a list of information used to construct a UI list of locale names, providing more access to control the sorting.

[Android.Runtime.Register("getUiListCompareWholeItems", "(Ljava/util/Set;Ljava/util/Comparator;)Ljava/util/List;", "GetGetUiListCompareWholeItems_Ljava_util_Set_Ljava_util_Comparator_Handler", ApiSince=26)]
public abstract System.Collections.Generic.IList<Android.Icu.Text.LocaleDisplayNames.UiListItem>? GetUiListCompareWholeItems (System.Collections.Generic.ICollection<Android.Icu.Util.ULocale>? localeSet, Java.Util.IComparator? comparator);
[<Android.Runtime.Register("getUiListCompareWholeItems", "(Ljava/util/Set;Ljava/util/Comparator;)Ljava/util/List;", "GetGetUiListCompareWholeItems_Ljava_util_Set_Ljava_util_Comparator_Handler", ApiSince=26)>]
abstract member GetUiListCompareWholeItems : System.Collections.Generic.ICollection<Android.Icu.Util.ULocale> * Java.Util.IComparator -> System.Collections.Generic.IList<Android.Icu.Text.LocaleDisplayNames.UiListItem>

Parameters

localeSet
ICollection<ULocale>

a list of locales to present in a UI list. The casing uses the settings in the LocaleDisplayNames instance.

comparator
IComparator

how to sort the UiListItems in the result.

Returns

an ordered list of UiListItems.

Attributes

Remarks

Return a list of information used to construct a UI list of locale names, providing more access to control the sorting. Normally use getUiList instead.

Java documentation for android.icu.text.LocaleDisplayNames.getUiListCompareWholeItems(java.util.Set<android.icu.util.ULocale>, java.util.Comparator<android.icu.text.LocaleDisplayNames.UiListItem>).

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