use holder pattern,  look for google I//O, even better if use cache
pattern

On 11월16일, 오전11시08분, Bret Foreman <bret.fore...@gmail.com> wrote:
> I have a custom layout with a lot of Views. Currently, I build the
> entire view hierarchy in the onCreate, though I stream the actual work
> in small batches. This works OK up to about 1000 Views and then
> performance degrades a little. Obviously, I'd like to use the
> ListAdapter pattern and only generate the parts of the View hierarchy
> that are visible on the screen.
>
> My parent View, however, is not (and cannot be) any of the existing
> ListView types. My question, then, is how do the ListView types
> interact with a ListAdapter to limit the number of Views necessary to
> represent a big list? More broadly, is there a pattern out there for
> extending a LinearLayout to create special ListViews?

-- 
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