I am using Restring library to load localized strings on my app. And I am able to load localized strings from the api and display it on the app, with out any issues. But the pitfall is every time the language is switched, I have to restart the app, then only the language is updated on the app. But I need to achieve it without restarting the app. Any help is appreciated. I already referred some links, which I am providing below,
https://proandroiddev.com/change-language-programmatically-at-runtime-on-android-5e6bc15c758
https://medium.com/@hamidgh/dynamically-change-bundled-strings-a24b97bfd306
Change app language programmatically in Android
Note: Restring uses SharedPreferences as the String Repository, so when ever getString(id) method is invoked, it'll provide the string matching the id from its SharedPrefernces repository.