Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

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.