Open julienherrero opened 2 years ago
Since AndroidX AppCompat has per-app language preferences for backward compatibility. Please migrate this library to AndroidX for more stability, compatibility, and longer support from Google team.
Thank you for your support
Because of the
lateinit var
,currentLanguage
can be used before its initialization :You can facing this issue by using Direct-Boot : with this, we cannot initialize language before first
onResume()
call.I've submited a PR to fix this : https://github.com/akexorcist/Localization/pull/135