dating sites with nice people - Updating data source

updating data source-16updating data source-50updating data source-40

It is called for all the active pages of the adapter(three maximum).

If the data in the fragment present in the collection we simply return its position and if new data not found in the collection we return POSITION_NONE which forces fragments to recreate its view hierarchy again with new data.

Fragment Manager does not hold the fragments which are going off the screen and simply destroys it.

In this way new fragments gets new data from the object collection directly.

My Fragment Pager /** * This method is only gets called when we invoke on this adapter.