Skip to content
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
Closed

Pull to load more #8

android12345 opened this issue Dec 2, 2014 · 28 comments

Comments

@android12345
Copy link

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

@jtyang
Copy link

jtyang commented Dec 6, 2014

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

@wangeason
Copy link

+1, 期待中

@asker517
Copy link

+1

@CyberTianzun
Copy link

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

@xianyo
Copy link

xianyo commented Jan 2, 2015

+1, 期待中

@ghost
Copy link

ghost commented 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)
.

@chenchongyu
Copy link

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

@grumoon
Copy link

grumoon commented Jan 7, 2015

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

@liaohuqiu
Copy link
Owner

@grumoon 同意你的观点。

@music60
Copy link

music60 commented Jan 30, 2015

+1

@AvatarQing
Copy link

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

@EzimetYusup
Copy link

@AvatarQing I really agree with u

@EzimetYusup
Copy link

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

@EzimetYusup
Copy link

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

@liaohuqiu
Copy link
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

@littletanker
Copy link

@liaohuqiu i clone the project but can't find demo for load more for ListView and GridView. r u not push yet ?

@liaohuqiu
Copy link
Owner

@EzimetYusup
Copy link

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

@EzimetYusup
Copy link

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

@Vurtex
Copy link

Vurtex commented Mar 20, 2015

+1

@xvjianzhe
Copy link

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

@DuShuYuan
Copy link

+1

1 similar comment
@sunswy
Copy link

sunswy commented Apr 21, 2015

+1

@xiaogu-space
Copy link

期待加上拉加载更多

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

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests