> But my jar file is referring number of layouts (about 10) and these
> layouts contains number of ids (about 100). It is difficult to pass so
> many ids as parameters.

You can try Resources#getIdentifier(). If you get this working, please
cache your results, as these lookups are apparently expensive ("Note: use
of this function is discouraged. It is much more efficient to retrieve
resources by identifier than by name.").

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to