I am having a confusion in restarting an activity.. I have two function that works well for the same task. Please guide me which is best and why?
publ
This has been posted before:
Intent intent = getIntent(); finish(); startActivity(intent);