I have a fragment that throws an activity in which user can insert some details. When the user terminate to fill data the activity close. Then the previous fragment is showed and I want it to be updated (with the data provided by user in the activity).
If it was an activity, instead of fragment, i could use this:
@Override
public void onResume(){
super.onResume();
recreate();
}
How to do the same with fragment?