instantiateItem
Create the page for the given position. The adapter is responsible for adding the view to the container given here, although it only must ensure this is done by the time it returns from finishUpdate.
Return
Returns an Object representing the new page. This does not need to be a View, but can be some other container of the page.
Parameters
The containing View in which the page will be shown.
The page position to be instantiated.
Deprecated
Use instantiateItem
Create the page for the given position. The adapter is responsible for adding the view to the container given here, although it only must ensure this is done by the time it returns from finishUpdate.
Return
Returns an Object representing the new page. This does not need to be a View, but can be some other container of the page.
Parameters
The containing View in which the page will be shown.
The page position to be instantiated.