iOS-WaterfallLayout icon indicating copy to clipboard operation
iOS-WaterfallLayout copied to clipboard

MJRefresh上拉加载更多时,出现bug

Open houge901023 opened this issue 5 years ago • 5 comments

MJRefresh上拉加载更多时,数据源数组已经更新,刷新collectionView却没有出现更多数据,很奇怪。延时调用刷新就可以

houge901023 avatar Dec 22 '20 11:12 houge901023

我拿demo测了一下,没问题啊,你是否可以发一份测试代码给我?

xiaopin avatar Dec 23 '20 10:12 xiaopin

已经发到你的邮箱[email protected]

houge901023 avatar Dec 25 '20 05:12 houge901023

------------------ 原始邮件 ------------------ 发件人: "xiaopin/iOS-WaterfallLayout" <[email protected]>; 发送时间: 2020年12月23日(星期三) 晚上6:27 收件人: "xiaopin/iOS-WaterfallLayout"<[email protected]>; 抄送: "侯彦名"<[email protected]>;"Author"<[email protected]>; 主题: Re: [xiaopin/iOS-WaterfallLayout] MJRefresh上拉加载更多时,出现bug (#8)

我拿demo测了一下,没问题啊,你是否可以发一份测试代码给我?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

houge901023 avatar Dec 25 '20 06:12 houge901023

你先把下面的代码找到并注释掉吧,我现在也不想不起来当时为何会这么判断

if (self.collectionView.isDecelerating || self.collectionView.isDragging) {
        return;
}

xiaopin avatar Dec 29 '20 08:12 xiaopin