I have 3 fragment in a viewpager which implemented from `FragmentStatePagerAdapter`.  

 I want only middle fragment refreshed, because I have an animation listener in it. Because of this I tried this code:  

```
@Override
public int getItemPosition(Object object) {
    if (object instanceof MiddleFragment){
        return POSITION_NONE;
    }else {
        return POSITION_UNCHANGED;
    }

```

but not work for me, because `setOffscreenPageLimit` default value is 1, I dont see any refresh from middle fragment. I have no any idea for doing that.  

Please guide me, Thanks in advance.