You would update your adapter and call notifyDataSetChanged (from the
adapter).  The ListView would perform a full layout and draw, which
does not have as much overhead as you might think.  For instance, it
will only concern itself with the list items currently on screen.

You cannot manipulate the innards of a ListView as directly as you
want, and trust me: you don't want to.  ListView is exceptionally
complex and extremely well optimized.

On Nov 18, 7:37 pm, Ben <[EMAIL PROTECTED]> wrote:
> All,
>
> I'm dynamically updating a ListView by adding rows to the bottom, and
> I need a bit of code to delete the top row.  Here's the catch: There
> are already plenty of rows in the list, and I'd like to do this
> WITHOUT redrawing the entire List.  Ideally, as I add each row to the
> bottom, I'd like to delete/pop the very top row.
>
> Is this possible?  Every example I can find does this by redrawing the
> entire ListView.
>
> -Ben
--~--~---------~--~----~------------~-------~--~----~
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