Source set: Common
public class LocaleList(public val localeList: List<Locale>) : Collection<Locale>
Defines a list of Locale objects.
Properties
size
Source set: Common
public override val size: Int = localeList.size
Functions
get
Source set: Common
public operator fun get(i: Int): Locale
Creates a LocaleList object from a list of Locales.
Members
Companion
Source set: Common
public companion object
Properties
Empty
Source set: Common
public val Empty: LocaleList = LocaleList(listOf())
An empty instance of LocaleList. Usually used to reference a lack of explicit Locale configuration.
current
Source set: Common
public val current: LocaleList
Returns Locale object which represents current locale