refresh activity android studio code example Example: refresh activity android Activity.recreate(); //Trigger the onCreate method in the activity