I've been using [CWAC's EndlessAdapter](https://github.com/commonsguy/cwac-endless) to achieve infinite scrolling on ListViews.

I'd like to accomplish the equivalent for a ViewPager. Unfortunately, PageAdapter and ListAdapter do not share the same common base class.

What's the best way to go about this? Does a library exist that already handles this?