On Tue, Jul 13, 2010 at 1:21 PM, Connie Walsh
<[email protected]> wrote:
> I am writing a financial calculator and part of my code is printing
> out an amortization table for 25 - 30 years. Some times there can be
> up to 2000 rows on the page. Here is my code to do this part:

Ack!

> Should I try to add them as the person scrolls down?

You should use a ListView. This will automatically handle scrolling,
will let you recycle your rows to minimize memory consumption, will
only process the rows presently visible to increase execution speed,
etc.

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

Android 2.2 Programming Books: http://commonsware.com/books

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