Open
Description
Hi All,
I'm currently using FIrebaseUI to load data by simply connecting a query to a tableview. When loading the initial the tableview the datasource goes through all nodes in "Adverts".
As i have a lot of nodes this take a prolonged amount of time. IE. "Datasource Started" is call the number of times that I have nodes. Once finished the data works the way i want and it's call as needed ..... Is there a way to shorten this initial load time?
let dataRef = ref.child("Adverts")
self.dataSource = self.listTableView.bind(to: dataRef) { tableView, indexPath, snapshot in
self.cell = self.listTableView.dequeueReusableCell(withIdentifier: "customMessageCell", for: indexPath) as? CustomMessageCell
print("Datasource Started")
//populate cell here
return self.cell
}