tags:

views:

24

answers:

2

Hello In my android application i am using a table with scrollview.I am giving the user a service suchthat if the user clicks on a row and say delete the row gets deleted from the table.But after this deletion i want the table to get refreshed and load only the fresh data from database.

Could anyone please let me know how can i refresh the table or refresh the page in android?

Please share your valuable suggestions .

Thanks in advance :)

A: 

Call your adapter's notifyDataSetChanged() when items have been changed, added or deleted. Call notifyDataSetInvalidated() when all data is gone.

Thorstenvv
A: 

I achieved it by calling the intent again for the same page.

Remmyabhavan