public final class LocaleService
extends java.lang.Object
Constructor and Description |
---|
LocaleService(Navigator navigator,
SettingsDataStore settingsDataStore) |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
applicationLocale()
Return application-wide locale or system-wide locale.
|
void |
applicationLocale(java.util.Locale locale)
Set application-wide locale that overrides the system-wide locale.
|
android.content.Context |
attachBaseContext(android.content.Context context)
Override this in
Activity.attachBaseContext(Context) . |
@Inject public LocaleService(Navigator navigator, SettingsDataStore settingsDataStore)
public android.content.Context attachBaseContext(android.content.Context context)
Activity.attachBaseContext(Context)
.public java.util.Locale applicationLocale()
public void applicationLocale(java.util.Locale locale)
locale
- Application-wide locale.