samvermette / SVPullToRefresh

Give pull-to-refresh & infinite scrolling to any UIScrollView with 1 line of code.
http://samvermette.com/314
MIT License
4.82k stars 1.09k forks source link

当cell只有几条,没有充满一个屏幕的时候,下拉刷新,同时执行了刷新和加载方法 #225

Open oumen opened 9 years ago

oumen commented 9 years ago

刷新和加载交替执行,产生crash

anhuijhy commented 9 years ago

这个要有个判断的 没充满屏幕就是不需要加载更多

meigesir commented 9 years ago

@oumen 我也遇到这种情况,在想办法解决

SeanChense commented 9 years ago

用中文提交 issue 人家不会理吧

ieliwb commented 9 years ago

只加载出来几个数据的时候把loadmore设置成NO

xieweizhi commented 9 years ago

You can override TableView's - (void)setContentSize:(CGSize)contentSize method, when contentSize.height is greater than the height of tableView , you can hide the infiniteScrollingView.

zfdang commented 9 years ago

I have met the same problem.

zfdang commented 9 years ago

这个问题有人已经碰到了, https://github.com/samvermette/SVPullToRefresh/issues/191

liuxuan30 commented 9 years ago

Use Enligsh when you are submitting issues. Chinese will block helps from other non-Chinese people.

anhuijhy commented 9 years ago

long long ago for this issue

在 2015-04-26 18:19:29,"Zhengfa Dang" notifications@github.com 写道:

这个问题有人已经碰到了, #191

— Reply to this email directly or view it on GitHub.