xhsyy / omnidroid

Automatically exported from code.google.com/p/omnidroid
Apache License 2.0
1 stars 0 forks source link

support R.Strings in Event, Action and other classes. #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Purpose of this changes:
Allow internationalization. Store UI string in one location.

problem:
There's no context field in either one of the class. so no way to reference
R.Strings

How to approach:
Find a way to pass in context to these classes.

Original issue reported on code.google.com by beanxlj@gmail.com on 7 May 2010 at 6:48

GoogleCodeExporter commented 9 years ago
I think this has already been addressed using: getString(R.string.NAME)

If there are classes where this hasn't been addressed, feel free to let me/us 
know.

Original comment by case.and...@gmail.com on 3 Jul 2010 at 5:46