Re: [android-developers] Re: ViewHolder paradigm vs. using View.setTag()
However, if your item layout is relatively simple, I don't expect you'll get much of a speedup with a view holder vs. using itemLayoutRoot.findViewById.
Have you done any profiling of your application? Anything interesting?
It will depend on your phone. But even on a NexusOne and using list items 1 or 2 levels deep, the gain is around 4 or 5 fps. It's worth it.
Romain Guy
Android framework engineer
romainguy@android.com
Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home