Android cursorloader not updating
I had a similar problem but don't want to trust on the existing solutions (hard coded tag names etc.) and I couldn't make M-Wa Je Eh's solution work for me.
can=2&start=0&num=100&q=&colspec=ID Type Status Owner Summary Stars&groupby=&sort=&id=37990. There are issues with Fragment State Pager Adapter that may or may not trouble your use case.
Also, link has few solutions too.may suit to your requirement.
This might be of help to someone - in my case when inserting a new page the view pager was asking for the position of an existing fragment twice, but not asking for the position of the new item, causing incorrect behaviour and data not displaying.
I've gone through all the answers above and a number of others posts but still couldn't find something that worked for me (with different fragment types along with dynamically adding and removing tabs).
I'm finish()ing an activity that's returning to the Activity that hosts the Pager Adapter in question.
I want all my fragments to be re-created in this case because the Activity that I just finished may have changed the state that is used to draw the fragments.
But I don't know what I have to return there (return is Object) and what is the relation with get Item(int position)?
Currently I'm using get Item to instantiate the Fragment, is that wrong?
That's the advantage of having a fragment, after all - it is its own controller.