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

使用RecyclerView没有加载更多

Open chaychan opened this issue 7 years ago • 9 comments

你好,我使用RecyclerView的时候RefreshHolder设置有加载更多,滑动到底部有触发loadMore的回调,但是没有出现底部的加载中,这是什么情况,看了你的demo,你的RecyclerView的adpter是自己封装的,难道只能用你的那种adapter才可以有加载更多的功能吗?麻烦你解答下。

chaychan avatar Jun 26 '17 01:06 chaychan

@chaychan height设置为0dp 加上weight即可

ZINK-FU avatar Nov 01 '17 02:11 ZINK-FU

我可以收到回调,但是没有显示加载更多

18705320883 avatar Nov 15 '17 09:11 18705320883

这个我没有去细看,不太清楚哦。

------------------ 原始邮件 ------------------ 发件人: "18705320883";[email protected]; 发送时间: 2017年11月15日(星期三) 下午5:29 收件人: "bingoogolapple/BGARefreshLayout-Android"[email protected]; 抄送: "Subscribed"[email protected]; 主题: Re: [bingoogolapple/BGARefreshLayout-Android] 使用RecyclerView没有加载更多 (#136)

我可以收到回调,但是没有显示加载更多

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

taotao0915 avatar Nov 15 '17 09:11 taotao0915

根布局不能是RelativeLayout,会有问题

hiliving avatar Dec 01 '17 06:12 hiliving

我换了LinearLayout,就能显示出来了

hiliving avatar Dec 01 '17 06:12 hiliving

你怎么知道联系到的我,哈哈,好奇怪,不知道哪里提到了BGARefreshLayout的问题

------------------ 原始邮件 ------------------ 发件人: "hiliving";[email protected]; 发送时间: 2017年12月1日(星期五) 下午2:32 收件人: "bingoogolapple/BGARefreshLayout-Android"[email protected]; 抄送: "陈涛涛"[email protected]; "Comment"[email protected]; 主题: Re: [bingoogolapple/BGARefreshLayout-Android] 使用RecyclerView没有加载更多 (#136)

我换了LinearLayout,就能显示出来了

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

taotao0915 avatar Dec 01 '17 07:12 taotao0915

而且,很重要一点,必须在oncreateView里初始化,很重要

hiliving avatar Dec 01 '17 07:12 hiliving

采用BGANormalRefreshViewHolder 上拉加载控件出不来.

yaoxudonghua avatar Jun 28 '18 02:06 yaoxudonghua

调了半天,发现是这个问题 : 在oncreateView里初始化

llfnqt avatar Jul 27 '22 07:07 llfnqt