JakeWharton/Android-ViewPagerIndicator — pull request #148 by csobrinho (2012-09-24 17:57:33+00:00)
Title: Improve the speed of TitlePageIndicator by only calculating +- items from the currentPage

Added a small flag (setSimpleMetrics) to improve the metrics in the onDraw method of the TitlePageIndicator. This flag, when set, will only calculate the bounds for +-LookAhead from the current page thus improving the rendering when the TitlePageIndicator has an adapter with a lot of entries (CursorAdapter for instance).