Skip navigation links
A C D G I L O R S W 

A

addLocaleChangedListener(listener) - Static method in class dev.b3nedikt.app_locale.AppLocale
Add a listener for changes to the currentLocale
AppLocale - Class in dev.b3nedikt.app_locale
AppLocale is a android library to update the app language dynamically.
AppLocaleRepository - Interface in dev.b3nedikt.app_locale
Repository for class AppLocale
AppLocaleRepository() - Constructor for interface dev.b3nedikt.app_locale.AppLocaleRepository
 

C

Companion - Static variable in class dev.b3nedikt.app_locale.SharedPrefsAppLocaleRepository
Deprecated. 

D

determineNewCurrentLocale() - Method in interface dev.b3nedikt.app_locale.LocaleMatchingStrategy
Determines the new AppLocale.currentLocale
dev.b3nedikt.app_locale - package dev.b3nedikt.app_locale
 

G

getAppLocaleRepository() - Static method in class dev.b3nedikt.app_locale.AppLocale
getCurrentLocale() - Static method in class dev.b3nedikt.app_locale.AppLocale
The locale currently used by the app.
getDesiredLocale() - Static method in class dev.b3nedikt.app_locale.AppLocale
The locale which should ideally be used by the app.
getDesiredLocale() - Method in interface dev.b3nedikt.app_locale.AppLocaleRepository
The locale which should ideally be used by the app, or null if the Locale.getDefault should be used.
getDesiredLocale() - Method in class dev.b3nedikt.app_locale.SharedPrefsAppLocaleRepository
The locale which should ideally be used by the app, or null if the Locale.getDefault should be used.
getLocaleMatchingStrategy() - Static method in class dev.b3nedikt.app_locale.AppLocale
The localeMatchingStrategy used to determine the new currentLocale after a change to the desiredLocale.
getSupportedLocales() - Static method in class dev.b3nedikt.app_locale.AppLocale
The Locales supported by the app. Usually these are all Locales for which strings.xml files exist.

I

INSTANCE - Static variable in class dev.b3nedikt.app_locale.AppLocale
AppLocale is a android library to update the app language dynamically.
isInitial() - Static method in class dev.b3nedikt.app_locale.AppLocale
If the desiredLocale has not been changed yet.

L

LocaleChangedListener - Interface in dev.b3nedikt.app_locale
Listener for changes to the AppLocale.currentLocale
LocaleChangedListener() - Constructor for interface dev.b3nedikt.app_locale.LocaleChangedListener
 
LocaleMatchingStrategy - Interface in dev.b3nedikt.app_locale
LocaleMatchingStrategy() - Constructor for interface dev.b3nedikt.app_locale.LocaleMatchingStrategy
 

O

onLocaleChanged() - Method in interface dev.b3nedikt.app_locale.LocaleChangedListener
Called when the AppLocale.currentLocale has changed

R

removeLocaleChangedListener(listener) - Static method in class dev.b3nedikt.app_locale.AppLocale
Remove a listener for changes to the currentLocale

S

setAppLocaleRepository(p) - Static method in class dev.b3nedikt.app_locale.AppLocale
setCurrentLocale(p) - Static method in class dev.b3nedikt.app_locale.AppLocale
The locale currently used by the app.
setDesiredLocale(value) - Static method in class dev.b3nedikt.app_locale.AppLocale
The locale which should ideally be used by the app.
setDesiredLocale(p) - Method in interface dev.b3nedikt.app_locale.AppLocaleRepository
The locale which should ideally be used by the app, or null if the Locale.getDefault should be used.
setDesiredLocale(value) - Method in class dev.b3nedikt.app_locale.SharedPrefsAppLocaleRepository
The locale which should ideally be used by the app, or null if the Locale.getDefault should be used.
setLocaleMatchingStrategy(p) - Static method in class dev.b3nedikt.app_locale.AppLocale
The localeMatchingStrategy used to determine the new currentLocale after a change to the desiredLocale.
setSupportedLocales(p) - Static method in class dev.b3nedikt.app_locale.AppLocale
The Locales supported by the app. Usually these are all Locales for which strings.xml files exist.
SharedPrefsAppLocaleRepository - Class in dev.b3nedikt.app_locale
Implementation of interface AppLocaleRepository which saves the AppLocale.desiredLocale to the shared preferences.
SharedPrefsAppLocaleRepository(context) - Constructor for class dev.b3nedikt.app_locale.SharedPrefsAppLocaleRepository
Implementation of interface AppLocaleRepository which saves the AppLocale.desiredLocale to the shared preferences.

W

wrap(context) - Static method in class dev.b3nedikt.app_locale.AppLocale
Wraps the context with a ContextWrapper which provides the AppLocaleResources instead of the default resources. If the provided context is already wrapped, it will be returned unchanged by this method.
A C D G I L O R S W 
Skip navigation links