I have 2 activity when I press the image on 1 activity it launches the 2 activity. Each time when 2 activity launch it triggers the http
request and form the table.
It works fine but when i press "back" button and then again start the application and came to the 2 activity.
It doesnt clear the previous data of table and add the data which came from http request. I didnt use a database its just a xml
tablelayout.
Simply I just want to start my application from initial state.
I dont want the android system to remember the activity's previous state when I backpressed the whole application.
Please help me on this.