@SuppressLint("NewApi")
	void scrapActiveViews() {
		final View[] activeViews = this.activeViews;
		final int[] activeViewTypes = this.activeViewTypes;
		final boolean multipleScraps = viewTypeCount > 1;

		SparseArray<View> scrapViews = currentScrapViews;
		final int count = activeViews.length;
		for (int i = count - 1; i >= 0; i--) {
			final View victim = activeViews[i];
			if (victim != null) {
				int whichScrap = activeViewTypes[i];

				activeViews[i] = null;
				activeViewTypes[i] = -1;

				if (!shouldRecycleViewType(whichScrap)) {
					continue;
				}

				if (multipleScraps) {
					scrapViews = this.scrapViews[whichScrap];
				}
				scrapViews.put(i, victim);

				if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
					victim.setAccessibilityDelegate(null);
				}
			}
		}

		pruneScrapViews();
	}
Move all views remaining in activeViews to scrapViews.
library/src/main/java/com/shizhefei/view/viewpager/RecycleBin.java