Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.core:core:1.0.0-rc01

ConfigurationCompat

public final class ConfigurationCompat
extends Object

java.lang.Object
   ↳ androidx.core.os.ConfigurationCompat


Helper class which allows access to properties of Configuration in a backward compatible fashion.

Summary

Public methods

static LocaleListCompat getLocales(Configuration configuration)

Get the LocaleListCompat from the Configuration.

Inherited methods

Public methods

getLocales

added in version 1.0.0
public static LocaleListCompat getLocales (Configuration configuration)

Get the LocaleListCompat from the Configuration.

Parameters
configuration Configuration

Returns
LocaleListCompat The locale list.