Android-PullToRefreshRecyclerView icon indicating copy to clipboard operation
Android-PullToRefreshRecyclerView copied to clipboard

当我自定义加载更多View的时候,传入和DefaultLoadMoreView一样代码的对象。

Open threeloe opened this issue 8 years ago • 3 comments

当我自定义加载更多View的时候,传入和DefaultLoadMoreView一样代码的对象。结果如果没有网络的情况下,如果不调用setLoadMoreFooter(loadMoreView)而用默认的没有热河问题,可是如果我调用setLoadMoreFooter(loadMoreView)传入和DefaultLoadMoreView一样代码的对象,当我向上滑动多试验几次,下面就会流出空白,不知道怎么回事

threeloe avatar May 06 '16 07:05 threeloe

我看下

HomHomLin avatar May 07 '16 02:05 HomHomLin

你好,你的setLoadMoreFooter是在什么时候设置的呢?

HomHomLin avatar May 10 '16 03:05 HomHomLin

昨天忘记回复你的邮件了,不好意思

refreshRecyclerView.onFinishLoading(true,false);在这句代码调用之前,这是Activity中onCreate方法,最后一句代码

我没有仔细阅读你的库的源代码,只是想改变样式,后来就把你的DefaultLoadMoreView的源代码拷贝出来,然后在 refreshRecyclerView.onFinishLoading(true,false) 之前调用setLoadMoreView,然后我直接关闭手机的所有网络,来测试,发现多次滑动之后,LoadMoreView的下面就会一点点多出来一些空白。 但是不调用setLoadMoreView就没有关系。

------------------ 原始邮件 ------------------ 发件人: "LinHongHong";[email protected]; 发送时间: 2016年5月10日(星期二) 中午11:03 收件人: "HomHomLin/Android-PullToRefreshRecyclerView"[email protected]; 抄送: "22222"[email protected]; "Author"[email protected]; 主题: Re: [HomHomLin/Android-PullToRefreshRecyclerView] 当我自定义加载更多View的时候,传入和DefaultLoadMoreView一样代码的对象。 (#7)

你好,你的setLoadMoreFooter是在什么时候设置的呢?

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

threeloe avatar May 11 '16 10:05 threeloe