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
@EzimetYusup Ptr supports all the views, but LoadMore only supports ListView and GridView, (RecycleView will be supported in days), so we should not put these two futures together.
Activity
jtyang commentedon Dec 6, 2014
+1,期待楼主再次发力!!!
wangeason commentedon Dec 19, 2014
+1, 期待中
asker517 commentedon Dec 26, 2014
+1
CyberTianzun commentedon Dec 29, 2014
别啊。。。不整合是最好的
xianyo commentedon Jan 2, 2015
+1, 期待中
ghost commentedon Jan 4, 2015
+1,期待中
2015-01-02 13:42 GMT+08:00 xianyo notifications@github.com:
chenchongyu commentedon Jan 5, 2015
+1,期待中 最好是可以设置开关,是否显示“加载更多”
grumoon commentedon Jan 7, 2015
加载更多应该是ContentView自己去实现吧,最好不要放在PTR里面
liaohuqiu commentedon Jan 8, 2015
@grumoon 同意你的观点。
music60 commentedon Jan 30, 2015
+1
AvatarQing commentedon Feb 4, 2015
@grumoon @liaohuqiu 为何加载更多不能放在PTR里面,能简单说明下吗?在RecyclerView的Adapter里似乎不太好写一个统一的加载更多的方案,因为每个item占的列数也许不确定,感觉好像应该写在PTR更合适。
EzimetYusup commentedon Feb 22, 2015
@AvatarQing I really agree with u
EzimetYusup commentedon Feb 22, 2015
@liaohuqiu RecyclerView can add endless scrolling but I do not like it ,it is kind of bad for user interface
EzimetYusup commentedon Feb 26, 2015
@liaohuqiu so r u gonna add pull to load more interface for this lib?
liaohuqiu commentedon Feb 26, 2015
Probably not. Load more is easy to implement and it's independent from Pull to refresh.
I've implemented load more for
ListView
andGridView
. If I've plenty of time, I will implement load more forRecyclerView
littletanker commentedon Mar 4, 2015
@liaohuqiu i clone the project but can't find demo for load more for ListView and GridView. r u not push yet ?
liaohuqiu commentedon Mar 4, 2015
@littletanker It's here https://github.com/liaohuqiu/android-cube-app
EzimetYusup commentedon Mar 4, 2015
@liaohuqiu yes it is easy to implement load more feature like GIF above ,but what I was saying is pull up to load more like xlistview https://github.com/Maxwin-z/XListView-Android/wiki
liaohuqiu commentedon Mar 4, 2015
@EzimetYusup Ptr supports all the views, but LoadMore only supports ListView and GridView, (RecycleView will be supported in days), so we should not put these two futures together.
EzimetYusup commentedon Mar 4, 2015
@liaohuqiu Thanks for replying , waiting for your pull up to LoadMore feature of RecyclerView
Vurtex commentedon Mar 20, 2015
+1
xvjianzhe commentedon Mar 20, 2015
+1 发自网易邮箱大师 在2015年03月20日 11:17 ,Vurtex(李一轩)写道: +1 — Reply to this email directly or view it on GitHub.
DuShuYuan commentedon Apr 8, 2015
+1
sunswy commentedon Apr 21, 2015
+1
xiaogu-space commentedon May 22, 2015
期待加上拉加载更多
[-]要是把上拉加载更多 集成进去,就无敌了[/-][+]Pull to load more[/+]liaohuqiu commentedon May 27, 2015
Closed.
As mentioned in #45 .
And here is a solution for load-more:
https://github.com/etao-open-source/cube-sdk
Here is the demo project: https://github.com/liaohuqiu/android-cube-app/tree/master/src/in/srain/cube/demo/ui/loadmore
KANGOD commentedon Jul 27, 2016
在给出的 cube-sdk demo 中,是根据不同的 View 分别做不同的处理,使之实现 load more 功能。
把 loadMoreView 作为 View 的一部分,感觉这样耦合太严重了。
尤其是 RecyclerView,需要根据 LayoutManager 做不同处理,还要把 loadMoreView 加到 RecyclerView item 中,实现方式太 dirty。
不同的 View 要用不同的方法来实现同一个功能(load more),很琐碎。像 ptr 一样,附加一个 footerView 作为 loadMoreView ,封装 load more 这一功能,使之对于 ptr 支持的 View 类型全部支持,会不会是更好的设计呢?
@see liaohuqiu/cube-sdk#66
shallowlight commentedon Mar 10, 2017
我感觉也是,没有上拉加载很多情形都无法使用