On Thu, Sep 9, 2010 at 7:35 AM, Martin <[email protected]> wrote:
> I wonder if anyone knows how I shall clear and update a table on a
> screen.
> I have a TableLayout with a few rows that I create dynamically. Then I
> want to update that data with an update option from the Menu.
> Do I have to create a new activity and recreate the table or is it
> possible to clear it and add new rows in it

Call removeAllViews() to remove the rows, then add new rows as needed.

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

Android Training in London: http://skillsmatter.com/go/os-mobile-server

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