how to refresh activity from class in android code example
Example: refresh activity android
Activity.recreate(); //Trigger the onCreate method in the activity
Activity.recreate(); //Trigger the onCreate method in the activity