Question: I really need your help here. 

I have two Fragments:  

1. Fragment A  

2. Fragment B  

One Interface  

1. onSkillsSelectedListener ( method onDoneClicked )

**Fragment A implements onSkillsSelectedListener** and when "**DONE**" button is called in **Fragment B**, i call `onDoneClicked()` , and Fragment B is destroyed.

Now method onDoneClicked in Fragment A is called before even OnResume in Fragment A is called so i cannot make any changes in my Layout.

How to fix this issue?

Answer: 
The fragments `onResume()` or `onPause()` will be called only when the Activities `onResume()` or `onPause()` is called. They are tightly coupled to the Activity.

<http://developer.android.com/guide/components/fragments.html#Lifecycle>

You need to find another way to implement this.
**I FIX IT**

Just changed the way i called my Fragment B 
from **replace** to **add**

So now Fragment A is not even Paused and callback is working! 

Cheers!