finish(); startActivity(getIntent());
Intent refresh = new Intent(this, Main.class); startActivity(refresh);//Start the same Activity finish(); //finish Activity.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)