Language

ListFormatter.GetInstance Method

Definition

Overloads

Name Description
GetInstance(ULocale)

Create a list formatter that is appropriate for a locale.

GetInstance(Locale)

Create a list formatter that is appropriate for a locale.

GetInstance(ULocale, ListFormatter+Type, ListFormatter+Width)

Create a list formatter that is appropriate for a locale.

GetInstance(Locale, ListFormatter+Type, ListFormatter+Width)

Create a list formatter that is appropriate for a locale.

GetInstance(ULocale)

Create a list formatter that is appropriate for a locale.

[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/ListFormatter;", "", ApiSince=26)]
public static Android.Icu.Text.ListFormatter? GetInstance(Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/ListFormatter;", "", ApiSince=26)>]
static member GetInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.ListFormatter

Parameters

locale
ULocale

the locale in question.

Returns

ListFormatter

Attributes

Remarks

Create a list formatter that is appropriate for a locale.

Java documentation for android.icu.text.ListFormatter.getInstance(android.icu.util.ULocale).

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

GetInstance(Locale)

Create a list formatter that is appropriate for a locale.

[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/ListFormatter;", "", ApiSince=26)]
public static Android.Icu.Text.ListFormatter? GetInstance(Java.Util.Locale? locale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/ListFormatter;", "", ApiSince=26)>]
static member GetInstance : Java.Util.Locale -> Android.Icu.Text.ListFormatter

Parameters

locale
Locale

the locale in question.

Returns

ListFormatter

Attributes

Remarks

Create a list formatter that is appropriate for a locale.

Java documentation for android.icu.text.ListFormatter.getInstance(java.util.Locale).

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

GetInstance(ULocale, ListFormatter+Type, ListFormatter+Width)

Create a list formatter that is appropriate for a locale.

[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;Landroid/icu/text/ListFormatter$Type;Landroid/icu/text/ListFormatter$Width;)Landroid/icu/text/ListFormatter;", "", ApiSince=33)]
public static Android.Icu.Text.ListFormatter? GetInstance(Android.Icu.Util.ULocale? locale, Android.Icu.Text.ListFormatter.Type? type, Android.Icu.Text.ListFormatter.Width? width);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;Landroid/icu/text/ListFormatter$Type;Landroid/icu/text/ListFormatter$Width;)Landroid/icu/text/ListFormatter;", "", ApiSince=33)>]
static member GetInstance : Android.Icu.Util.ULocale * Android.Icu.Text.ListFormatter.Type * Android.Icu.Text.ListFormatter.Width -> Android.Icu.Text.ListFormatter

Parameters

locale
ULocale

the locale in question.

type
ListFormatter.Type

Selects conjunction, alternative, or measurement-unit list patterns.

width
ListFormatter.Width

Selects full, typical-length, or narrow list patterns.

Returns

A list formatter for the supplied ICU locale, list type, and width.

Attributes

Remarks

Create a list formatter that is appropriate for a locale.

Android reference for android.icu.text.ListFormatter.getInstance.

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

GetInstance(Locale, ListFormatter+Type, ListFormatter+Width)

Create a list formatter that is appropriate for a locale.

[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;Landroid/icu/text/ListFormatter$Type;Landroid/icu/text/ListFormatter$Width;)Landroid/icu/text/ListFormatter;", "", ApiSince=33)]
public static Android.Icu.Text.ListFormatter? GetInstance(Java.Util.Locale? locale, Android.Icu.Text.ListFormatter.Type? type, Android.Icu.Text.ListFormatter.Width? width);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;Landroid/icu/text/ListFormatter$Type;Landroid/icu/text/ListFormatter$Width;)Landroid/icu/text/ListFormatter;", "", ApiSince=33)>]
static member GetInstance : Java.Util.Locale * Android.Icu.Text.ListFormatter.Type * Android.Icu.Text.ListFormatter.Width -> Android.Icu.Text.ListFormatter

Parameters

locale
Locale

the locale in question.

type
ListFormatter.Type

Selects conjunction, alternative, or measurement-unit list patterns.

width
ListFormatter.Width

Selects full, typical-length, or narrow list patterns.

Returns

A list formatter for the ICU equivalent of the Java locale, list type, and width.

Attributes

Remarks

Create a list formatter that is appropriate for a locale.

Android reference for android.icu.text.ListFormatter.getInstance.

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