Fix stale nested prefetch data leaking out after notifyDataSetChanged
Bug:36558253
Test: adb shell am instrument -w -r -e debug false -e size small android.support.v7.recyclerview.test/android.support.test.runner.AndroidJUnitRunner
Switches notifyDataSetChanged to always discard all cached views so
content in the cache is always trustworthy.
Also fixes a case where GapWorker attempts to prefetch inner items
before the containing RecyclerView's data is bound.
Change-Id: Iad9974923564a07ae57f1a9084e6cfe6ec560a6f
3 files changed