Stay organized with collections Save and categorize content based on your preferences.

ConfigurationCompat

public final class ConfigurationCompat


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

Summary

Public methods

static @NonNull LocaleListCompat

Get the LocaleListCompat from the Configuration.

Public methods

getLocales

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

Get the LocaleListCompat from the Configuration.

Returns
@NonNull LocaleListCompat

The locale list.