You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
if (([self dzn_shouldDisplay] && [self dzn_itemsCount] == 0 && self.tag == 2222) || [self dzn_shouldBeForcedToDisplay]) if (self.homeDataArray.count) { self.homeTableView.tag = 2220; [self.homeTableView reloadData]; }else{ self.homeTableView.tag = 2222; }
I found a problem while using DZNEmptyDataSet
scenes to be used:
When the tableView is collapsed, I will think that I am a blank tableView. In fact, the cell has data. I think that when the TableView or CollectionView is partitioned, he is not blank, not just by this method to judge numberOfItemsInSection:
My solution Determine whether to display a blank page by judging the data source
The text was updated successfully, but these errors were encountered:
GeeksChen
changed the title
在TableView或CollectionView上空白页面展示错误
Blank page display error on TableView or CollectionView
Jun 22, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
if (([self dzn_shouldDisplay] && [self dzn_itemsCount] == 0 && self.tag == 2222) || [self dzn_shouldBeForcedToDisplay])
if (self.homeDataArray.count) { self.homeTableView.tag = 2220; [self.homeTableView reloadData]; }else{ self.homeTableView.tag = 2222; }
I found a problem while using DZNEmptyDataSet
scenes to be used:
When the tableView is collapsed, I will think that I am a blank tableView. In fact, the cell has data. I think that when the TableView or CollectionView is partitioned, he is not blank, not just by this method to judge
numberOfItemsInSection:
My solution Determine whether to display a blank page by judging the data source
The text was updated successfully, but these errors were encountered: