Always set ViewPager adapter immediately.

This appears to be an oversight and may be causing b/8270164.

cherry-pick of: https://googleplex-android-review.googlesource.com/285178
Change-Id: I840a79d28c55d478a1182059b057da092947720b
1 file changed
tree: a8582f8d47bab2b6406a9b5453707fe9856c3b4a
  1. res/
  2. sample/
  3. src/
  4. .gitignore
  5. Android.mk
  6. AndroidManifest.xml