Bugfix: InfiniteViewPager::setAdapter() failed the adapter getCount() method returned 0.