antonyt/InfiniteViewPager — pull request #15 by AeroEchelon (2014-08-11 01:01:33+00:00)
Title: Overridden two additional methods from ViewPager.

Since setCurrentItem() refers to a "real" position and not "virtual" position, override the implementation of `getCurrentItem()` to reflect this. It now returns the actual position of the object that is
backing the adapter.

Also fixes #8 setCurrentItem(int, boolean) has the same implementation as
setCurrentItem(int) except with smoothScroll