JakeWharton/Android-ViewPagerIndicator — pull request #217 by scottyab (2013-04-18 16:30:59+00:00)
Title: Added a new sample of Title Indicator to show X of Y

When using a view pager you can simply implement an OnPageChangeListener and override the getPageTitle to create a page x of y title text as seen in apps like gmail. It's an alternative to using something like https://github.com/ManuelPeinado/NumericPageIndicator