     let cellId = "itemCell"
     var preViewName = "Social"
     var collectionView = UICollectionView(frame: CGRect(), collectionViewLayout: UICollectionViewLayout())
+    var refresh_controll = UIRefreshControl()
     var movies: [MovieRecentlly.Data] = []
     
     override func viewDidLoad() {

        collectionView.delegate = self
        collectionView.dataSource = self
        collectionView.autoresizingMask = UIViewAutoresizing(rawValue: UIViewAutoresizing.RawValue(UInt8(UIViewAutoresizing.flexibleHeight.rawValue) | UInt8(UIViewAutoresizing.flexibleWidth.rawValue)))
        self.view.addSubview(collectionView)
    }
    
    func CallGetRecentlyAPI() {

    }
    
    func InitCollectionView() {
        collectionView.removeFromSuperview()
        refresh_controll = UIRefreshControl()
        
        let w = 150.0 as CGFloat
        let h = w*1.5 as CGFloat
        let margin = (self.view.frame.width - w*2) / 4
