How do I find out at runtime, which string resource instance has been applied to the application I am writing in Android Studio?
To be more precise: I defined resources for three languages (say German, English, and French).
At runtime, I want to find out the match (to the user's locale), that has actually been applied.
For instance, if the user speaks Canadian French (his phone's locale), then the match will be French, as I learned from the Android studio documentation pages on "Locale".
If the user's locale is Japanese, then the match will be the default one (German in my case).
If the locale changes to Danish, the applied resource still will be the default one (German).
Now in my case, I need to get the resource, out of those I personally defined (which are German, English and French), that has actually been applied to "inflate the layout".
The reason is that I do manual locale changes within the app (and only valid for the app, not for the phone), and that I want to cause a refresh procedure for the activity only if indeed the underlying string-resource source has changed.