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 get my first question solved, is it possible to have some kind of animation where one row will fade out or slide out instead of just disappearing outright?
Thanks!