currentLocale
class AppLocale
AppLocale.currentLocale
interface AppLocaleRepository
to persist the supportedLocales
, the currentLocale
and
the desiredLocale
.localeMatchingStrategy
used to determine the new currentLocale
after a change
to the desiredLocale
.desiredLocale
has not been changed yet.AppLocale.currentLocale
class AppLocale
finds the new AppLocale.currentLocale
from a set of
AppLocale.supportedLocales
given a new AppLocale.desiredLocale
.AppLocale.currentLocale
has changedcurrentLocale
interface AppLocaleRepository
to persist the supportedLocales
, the currentLocale
and
the desiredLocale
.localeMatchingStrategy
used to determine the new currentLocale
after a change
to the desiredLocale
.interface AppLocaleRepository
which saves the AppLocale.desiredLocale
to
the shared preferences.interface AppLocaleRepository
which saves the AppLocale.desiredLocale
to
the shared preferences.