New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull to load more #8

Closed
android12345 opened this Issue Dec 2, 2014 · 28 comments

Comments

Projects
None yet
@android12345

要是把上拉加载更多 集成进去,就无敌了

@jtyang

This comment has been minimized.

Show comment
Hide comment
@jtyang

jtyang Dec 6, 2014

+1,期待楼主再次发力!!!

jtyang commented Dec 6, 2014

+1,期待楼主再次发力!!!

@wangeason

This comment has been minimized.

Show comment
Hide comment
@wangeason

wangeason Dec 19, 2014

+1, 期待中

+1, 期待中

@asker517

This comment has been minimized.

Show comment
Hide comment

+1

@cnzx219

This comment has been minimized.

Show comment
Hide comment
@cnzx219

cnzx219 Dec 29, 2014

别啊。。。不整合是最好的

cnzx219 commented Dec 29, 2014

别啊。。。不整合是最好的

@xianyo

This comment has been minimized.

Show comment
Hide comment
@xianyo

xianyo Jan 2, 2015

+1, 期待中

xianyo commented Jan 2, 2015

+1, 期待中

@IceHermes

This comment has been minimized.

Show comment
Hide comment
@IceHermes

IceHermes Jan 4, 2015

+1,期待中

2015-01-02 13:42 GMT+08:00 xianyo notifications@github.com:

+1, 期待中


Reply to this email directly or view it on GitHub
#8 (comment)
.

+1,期待中

2015-01-02 13:42 GMT+08:00 xianyo notifications@github.com:

+1, 期待中


Reply to this email directly or view it on GitHub
#8 (comment)
.

@chenchongyu

This comment has been minimized.

Show comment
Hide comment
@chenchongyu

chenchongyu Jan 5, 2015

+1,期待中 最好是可以设置开关,是否显示“加载更多”

+1,期待中 最好是可以设置开关,是否显示“加载更多”

@grumoon

This comment has been minimized.

Show comment
Hide comment
@grumoon

grumoon Jan 7, 2015

加载更多应该是ContentView自己去实现吧,最好不要放在PTR里面

grumoon commented Jan 7, 2015

加载更多应该是ContentView自己去实现吧,最好不要放在PTR里面

@liaohuqiu

This comment has been minimized.

Show comment
Hide comment
@liaohuqiu

liaohuqiu Jan 8, 2015

Owner

@grumoon 同意你的观点。

Owner

liaohuqiu commented Jan 8, 2015

@grumoon 同意你的观点。

@music60

This comment has been minimized.

Show comment
Hide comment

music60 commented Jan 30, 2015

+1

@AvatarQing

This comment has been minimized.

Show comment
Hide comment
@AvatarQing

AvatarQing Feb 4, 2015

@grumoon @liaohuqiu 为何加载更多不能放在PTR里面,能简单说明下吗?在RecyclerView的Adapter里似乎不太好写一个统一的加载更多的方案,因为每个item占的列数也许不确定,感觉好像应该写在PTR更合适。

@grumoon @liaohuqiu 为何加载更多不能放在PTR里面,能简单说明下吗?在RecyclerView的Adapter里似乎不太好写一个统一的加载更多的方案,因为每个item占的列数也许不确定,感觉好像应该写在PTR更合适。

@EzimetYusup

This comment has been minimized.

Show comment
Hide comment
@EzimetYusup

EzimetYusup Feb 22, 2015

@AvatarQing I really agree with u

@AvatarQing I really agree with u

@EzimetYusup

This comment has been minimized.

Show comment
Hide comment
@EzimetYusup

EzimetYusup Feb 22, 2015

@liaohuqiu RecyclerView can add endless scrolling but I do not like it ,it is kind of bad for user interface

@liaohuqiu RecyclerView can add endless scrolling but I do not like it ,it is kind of bad for user interface

@EzimetYusup

This comment has been minimized.

Show comment
Hide comment
@EzimetYusup

EzimetYusup Feb 26, 2015

@liaohuqiu so r u gonna add pull to load more interface for this lib?

@liaohuqiu so r u gonna add pull to load more interface for this lib?

@liaohuqiu

This comment has been minimized.

Show comment
Hide comment
@liaohuqiu

liaohuqiu Feb 26, 2015

Owner

Probably not. Load more is easy to implement and it's independent from Pull to refresh.

I've implemented load more for ListView and GridView. If I've plenty of time, I will implement load more for RecyclerView

Owner

liaohuqiu commented 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 and GridView. If I've plenty of time, I will implement load more for RecyclerView

@littletanker

This comment has been minimized.

Show comment
Hide comment
@littletanker

littletanker 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 i clone the project but can't find demo for load more for ListView and GridView. r u not push yet ?

@liaohuqiu

This comment has been minimized.

Show comment
Hide comment
@EzimetYusup

This comment has been minimized.

Show comment
Hide comment
@EzimetYusup

EzimetYusup 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 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

This comment has been minimized.

Show comment
Hide comment
@liaohuqiu

liaohuqiu Mar 4, 2015

Owner

@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.

Owner

liaohuqiu commented 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

This comment has been minimized.

Show comment
Hide comment
@EzimetYusup

EzimetYusup Mar 4, 2015

@liaohuqiu Thanks for replying , waiting for your pull up to LoadMore feature of RecyclerView

@liaohuqiu Thanks for replying , waiting for your pull up to LoadMore feature of RecyclerView

@Vurtex

This comment has been minimized.

Show comment
Hide comment

Vurtex commented Mar 20, 2015

+1

@xvjianzhe

This comment has been minimized.

Show comment
Hide comment
@xvjianzhe

xvjianzhe Mar 20, 2015

+1 发自网易邮箱大师 在2015年03月20日 11:17 ,Vurtex(李一轩)写道: +1 — Reply to this email directly or view it on GitHub.

+1 发自网易邮箱大师 在2015年03月20日 11:17 ,Vurtex(李一轩)写道: +1 — Reply to this email directly or view it on GitHub.

@DuShuYuan

This comment has been minimized.

Show comment
Hide comment

+1

@sunswy

This comment has been minimized.

Show comment
Hide comment

sunswy commented Apr 21, 2015

+1

@xiaogu-space

This comment has been minimized.

Show comment
Hide comment
@xiaogu-space

xiaogu-space May 22, 2015

期待加上拉加载更多

期待加上拉加载更多

@liaohuqiu liaohuqiu changed the title from 要是把上拉加载更多 集成进去,就无敌了 to Pull to load more May 27, 2015

@liaohuqiu

This comment has been minimized.

Show comment
Hide comment
Owner

liaohuqiu commented 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

@liaohuqiu liaohuqiu closed this May 27, 2015

@KANGOD

This comment has been minimized.

Show comment
Hide comment
@KANGOD

KANGOD 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

KANGOD commented 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

This comment has been minimized.

Show comment
Hide comment
@shallowlight

shallowlight Mar 10, 2017

我感觉也是,没有上拉加载很多情形都无法使用

我感觉也是,没有上拉加载很多情形都无法使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment