Android: How to refresh a tablelayout after removing a row?
问题 I have a tablelayout that retrieves data from a *.txt file. For every line of data in the txt file, there will be one row of data. Let's say I have two rows of data in the txt file right now, it makes sense that two tablerows will be generated. Then, I added a OnLongPressListener which, when called, will delete one row of data from the txt file. Now's the first question: After deleting data in the txt file, how do I refresh my tablelayout to reflect that change? Second question is: After I