         #if DEBUG
             debugPrint("LoadMoreTableViewController.showFooterNoItems()")
         #endif
-
+        
         let footer = self.loadFooter()
         footer.state = .noMore
         self.tableView.tableFooterView = footer

        
        
        if index >= indexToLoadMore && indexToLoadMore > 0 {
#if DEBUG
            debugPrint("LoadMoreTableViewController.willDisplayCell: indexToLoadMore=\(indexToLoadMore) index=\(index)")
#endif
            self.loadMore()
        }
    }

            }
        }
    }
    
    func loadMore(_ clear: Bool = false, with refreshControl: UIRefreshControl? = nil, completionBlock completion: @escaping ([Any]?, Error?) -> Void) {
        if self.loadingMore == false {
            self.loadingMore = true
