On Thu, Dec 6, 2012 at 10:18 AM, Mark Phillips <[email protected]>wrote:
> I initially thought to just put arrays in strings.xml for the various > units (length, mass, temperature, etc) to simplify the code and > translations. However, I end up with a lot of string testing to see which > unit was selected. If you have arrays of string, why are you testing the strings themselves instead of the indices? ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

