On Mon, May 30, 2011 at 10:11 AM, Capt Spaghetti <[email protected]> wrote:
> I have it functioning but it is slow to load because of the number of views.

And your proof of this is... what, exactly?

Use Traceview to determine where your time is being spent. Don't just guess.

> What are my options for handling large amounts of data without slowing
> down the load time?

Use a ListView or some other AdapterView, so only the views that are
needed by the user at the moment are in memory.

Or, try to consolidate multiple views (e.g., use a SpannedString,
perhaps from Html.fromHtml(), to populate a single TextView rather
than several in a horizontal LinearLayout).

Or, if this is a game, use the 2D or 3D graphics APIs.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Oslo: http://bit.ly/fjBo24

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

Reply via email to