Wednesday, May 30, 2012

[android-developers] Re: UI performance is slow on large screen tablet

Are you using the convert view parameter and getTag() with a
viewHolder or are you creating the elements in the list from scratch
each time?

Using the convert view reduces GC and removes the time to create new
objects for each row.

See this for an explanation:

http://logc.at/2011/10/10/handling-listviews-with-multiple-row-types/

I hope I'm not giving you stuff you already know, but this is an
important pattern to improve UI speed.

On May 31, 12:37 pm, TreKing <treking...@gmail.com> wrote:
> On Wed, May 30, 2012 at 11:02 PM, dara kok <mrpc.cambo...@gmail.com> wrote:
> > Could somebody here point out what are the contributing factors to such
> > issue?
>
> The size of the display, as you already noticed. More to draw = longer time
> to taken to draw.
>
> > and what could be done to optimize the UI speed?
>
> Profile your code, then address the bottlenecks.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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


Real Estate