fun addScrapView(scrap: View, position: Int, viewType: Int) { if (viewTypeCount === 1) { currentScrapViews.put(position, scrap) } else { scrapViews.get(viewType).put(position, scrap) } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { scrap.setAccessibilityDelegate(null) } }
Put a view into the ScrapViews list . These views are unordered .