Closed PearlDroidOs closed 2 years ago
Facing same issue. Can anyone solve this issue?
try not to use delegate extend your Application class with LocalizationApplication() ... and override the method
override fun getDefaultLanguage(context: Context) = Locale.ENGLISH
as documented .
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
I found this crash as below:
when I implement something like this:
I set language into "AActivity" and then I navigate to "BActivity" for checking new language but I got the crash that happens at "onCreate" at "BActivity" which link to "LocalizationActivity" as above.
Can you help me with how can I handle and solve it please?
Please feel free to ask if you have more question. Thank you so much 🙏🏻