     public func clear() {
         self.lastID = nil
         self.objects = []
+        self.state.canLoadMore = true
         self.currentPage = firstPage
     }
     


        let page = ListPage(size: pageSize, number: firstPage,  lastID: nil)
        self.loadPage(page) { [weak self] objects in
            self?.appendNewPage(with: objects)
        }
    }
    
    public func loadNextPage() {
        let nextPage = ListPage(size: pageSize, number: currentPage + 1,  lastID: self.lastID)
        self.loadPage(nextPage) { [weak self] objects in
            self?.appendNewPage(with: objects)
        }
    }
    

        }
    }
    
    public func appendNewPage(_ page: ListPage, with objects: [ListObject]) {
        self.currentPage = page.number
        if objects.count > 0 && self.state.isEmpty {
            self.state.isEmpty = false
        }
        if objects.count < page.size {
            self.state.canLoadMore = false
        }
        
        self.lastID = objects.last?.listID
        self.appendObjects(objects, animated: self.appendAnimated)
    }
