com.neomades.ui.PagerAdapter |
Interface providing the adapter to populate pages inside a ViewPager.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract View |
createPage(int pageNumber)
Create the page for the given position.
| ||||||||||
abstract void |
destroyPage(int pageNumber, View content)
Remove a page for the given position.
| ||||||||||
abstract int |
getCount()
Gets the number of pages available.
|
Create the page for the given position.
pageNumber | the position of the new page |
---|
Remove a page for the given position.
pageNumber | the position of the page to be destroyed |
---|---|
content | the detached view |
Gets the number of pages available.