0

I have a five tab's all are individual activity, I want to reload one activity after doing Sync without tab view I have done

Intent intent = getIntent();
finish();
startActivity(intent);

How to do in a tabview

A J
  • 4,542
  • 5
  • 50
  • 80

1 Answers1

1

Instead of restarting your activity declare the intialization things in a separate method. Then after sync just call that method to refresh your activity.

stinepike
  • 54,068
  • 14
  • 92
  • 112