[android-developers] Re: Avoiding getIdentifier calls.

2011-02-16 Thread Hari Edo
On Feb 16, 7:30 am, Samuh wrote: > Questions: > What are other alternatives that we can try? > How should such resources be bundled so that they can be addressed in > code efficiently? If you do find yourself making many calls, especially from the same name multiple times, form your own Map w

[android-developers] Re: Avoiding getIdentifier calls.

2011-02-16 Thread Hari Edo
I think the advice is to caution you not to do this for all of your UI elements everywhere, just as you don't use Java Reflection for all method calls. Looking a few things up by name in response to an activity start-up or a user interaction should not be a big deal. On Feb 16, 7:30 am, Samuh w