Updated WPagerAdapter example.