开发者

how to use onresume() and onpause() for when on tabclick change event "means refresh tab content" each time click

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜