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

调整 #7

Closed
yiminghe opened this issue Sep 26, 2016 · 1 comment
Closed

调整 #7

yiminghe opened this issue Sep 26, 2016 · 1 comment
Assignees

Comments

@yiminghe
Copy link
Member

  • refresh 不要附加到 ListView, 后期可能独立,使用 require('rmc-list-view/lib/RefreshControl');
  • RefreshControl prefixCls 为 rmc-refresh-control
@warmhug
Copy link
Collaborator

warmhug commented Sep 26, 2017

ListView 里的 基础 list 布局和 scroll 事件处理 这些基础性代码是很少的,需要作为 RefreshControl / zscroller / indexList / pullup 功能的基础依赖。

体积和复杂度问题主要体现在 zscroller 、dataSource 数据处理,RefreshControl 依赖于 zscroller 里的实现比较鸡肋。

权衡很久不用改变,目前这个组件能覆盖 infinite 、模拟 scroller、pull up/down to refresh 等全部功能。

@warmhug warmhug closed this as completed Sep 26, 2017
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

2 participants