Fix for CompositeCursorAdapter returning wrong item view types

Cherrypick of
https://googleplex-android-review.googlesource.com/#/c/306995/,

which fixes the bug that causes getItemViewType to be called
with the wrong position, causing new views to be created
unnecessarily.

Bug: 8398321
Change-Id: I6c921fe7d5135cf9f9d9bdd08b5aa4df7662ac1c
1 file changed
tree: 588feb3a781aec3f5296bd31a6787710bab50acf
  1. carousel/
  2. chips/
  3. common/
  4. photoviewer/
  5. variablespeed/
  6. widget/
  7. CleanSpec.mk