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,319
  • 5
  • 49
  • 79

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
  • 52,673
  • 14
  • 90
  • 109