when i change the tab and push again previous clicked tab i want to reload item in it again means refresh the tab containing class with new data...so thats why i use onpause() and onresume() method but so how t开发者_StackOverflow社区o delete old loaded data when i click first time on tab...and when i click it gives array index out of bound exception..
protected void onPause() {
super.onPause();
}
protected void onResume()
{
super.onResume();
new ProgressTask6().execute();
}
I think you should go through Activity.
As far as your question is concerned, you can set up a flag for activity while you create an intent, so that each time when you click on the tab it is refreshed.
精彩评论