I know that this has already been asked before, but none of the other responses have helped me, so I'll ask myself...
I am trying to delete all my existing rows from a TableLayout
because I want the user to be able to update the table dynamically. Other suggestions have recommended using removeAllViews()
, which is supposed to remove all child views, however this deletes rows from my other tables in the same LinearLayout
(I have a linear layout with multiple tables).
Any suggestions?