Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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

public static LocaleListCompat getLocales (Configuration configuration)

Get the LocaleListCompat from the Configuration.

Parameters
configuration Configuration

Returns
LocaleListCompat The locale list.