HomeGRNET

Pager (PhabricatorPagerUIExample)

Use PHUIPagerView to create a control which allows users to paginate through large amounts of content.

Example

Item
Item #81
Item #82
Item #83
Item #84
Item #85
Item #86
Item #87
Item #88
Item #89
Item #90
Item #91
Item #92
Item #93
Item #94
Item #95
Item #96
Item #97
Item #98
Item #99
Item #100

Use PHUIPagerView to render a pager element.

You can show more or fewer pages of surrounding context.

When it is prohibitively expensive or complex to attain a complete count of the items, you can select one extra item and set hasMorePages(true) if it exists, creating an inexact pager.