I am admittedly no expert on traceviewe. I'm barely a beginner but it looks like the time is spent loading the views.
The file is at the following locaTION: http://www.onyoursixinc.com/gfatrace.trace Any help would be greatly appreciated. Thanks, Gene On Jun 13, 1:01 am, Dianne Hackborn <[email protected]> wrote: > Let me promise you -- it is not taking 18 seconds to load just because you > have 100 views. > > Where is traceview showing you spending most of your time? > > On Sun, Jun 12, 2011 at 2:16 PM, Capt Spaghetti <[email protected]>wrote: > > > > > > > I took the time to read up on traceview and hierarchyviewer. I will > > try and attach > > a png file of the "running" application. It's the only proof I have > > other than the > > actual application. I will attach a pdf file of the screenshots of the > > different > > views. I have been able to remove one of LinearLayout views but I am > > stil at 107. > > I have not been able to find out how I can put editable fields in a > > ListView or > > AdapterView but I will keep looking. What I have works but is > > incredibly slow. > > About 18 seconds to load 18 scores for 4 people. > > > On May 30, 10:23 am, Mark Murphy <[email protected]> wrote: > > > 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/commonsguyhttp://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 > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them.- Hide quoted text - > > - Show quoted text - -- 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

