 extension RecycleHeaderView : UICollectionViewDataSource {
 
     func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
-        return recycleModelArr?.count ?? 0
+        return (recycleModelArr?.count ?? 0) * 10000
     }
     
     func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
         
         let cell = collectionView.dequeueReusableCell(withReuseIdentifier: kRecycleCellID, for: indexPath) as! RecycleHeaderCell
 
-        cell.model = recycleModelArr?[indexPath.item]
+        cell.model = recycleModelArr?[indexPath.item % recycleModelArr!.count]
         
         return cell
     }

        let offsetX = scrollView.contentOffset.x + scrollView.bounds.width * 0.5
        
        let count = Int(offsetX / scrollView.bounds.width)
        
        pageController.currentPage = count
    }
}


            recycleCollecView.reloadData()
            
            pageController.numberOfPages = recycleModelArr!.count
            
            let path = IndexPath(item: recycleModelArr!.count * 50, section: 0)
            recycleCollecView.scrollToItem(at: path, at: .left, animated: false)
        }
    }
    
