Thanks Mark, It works, I will look into it how to optimize it.
-- Best Regards, Atif Gulzar I ◘◘◘◘ Unicode, ɹɐzlnƃ ɟıʇɐ On Fri, Aug 28, 2009 at 1:52 PM, Mark Murphy <[email protected]>wrote: > > > 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 [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 -~----------~----~----~----~------~----~------~--~---

