ConfigurationCompat

public final class ConfigurationCompat


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

Summary

Public constructors

Public methods

static @NonNull LocaleListCompat

Get the LocaleListCompat from the Configuration.

Public constructors

ConfigurationCompat

public final ConfigurationCompat()

Public methods

getLocales

public static @NonNull LocaleListCompat getLocales(@NonNull Configuration configuration)

Get the LocaleListCompat from the Configuration.

Returns
@NonNull LocaleListCompat

The locale list.