Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.

Conversation

@techguy613
Copy link

  • Add setBundle() to R in order to manually set the ResourceBundle
  • Update R.get() to handle MissingResourceException by using printing "key:param1:...:paramN"

- Update R.get() to handle MissingResourceException by using printing "key:param1:...:paramN"
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 94.582% when pulling 702bab6 on techguy613:master into bab567d on ibauersachs:master.

@ibauersachs
Copy link
Owner

Thanks! This doesn't yet catch the case when the ResourceBundle isn't set manually and cannot be loaded automatically, the fallback is only effective if the key is actually not available.
Without testing it, I'd even assume that the attempt to call setBundle would crash on Android.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 94.44% when pulling 98d244e on techguy613:master into bab567d on ibauersachs:master.

@ibauersachs ibauersachs merged commit 98d244e into ibauersachs:master Sep 6, 2016
ibauersachs added a commit that referenced this pull request Sep 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants