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

List api 调整 #257

Closed
yiminghe opened this Issue Sep 14, 2016 · 8 comments

Comments

Projects
None yet
4 participants
@yiminghe
Copy link
Contributor

yiminghe commented Sep 14, 2016

http://facebook.github.io/react-native/docs/listview.html

  • 去除 List.Body List.Footer List.Header
  • title footer 改为 renderFooter renderHeader

@yiminghe yiminghe added this to the 1.0 milestone Sep 14, 2016

@foriacus foriacus referenced this issue Sep 14, 2016

Closed

0.9 release #160

3 of 10 tasks complete

liqi07 pushed a commit that referenced this issue Sep 14, 2016

@afc163

This comment has been minimized.

Copy link
Member

afc163 commented Sep 14, 2016

#63

直接 title={<div></div} footer={<div></div>} 吧,renderHeader 意义不大,因为函数没有传参。

@yiminghe

This comment has been minimized.

Copy link
Contributor

yiminghe commented Sep 14, 2016

同 ListView 保持一致

@pingan1927

This comment has been minimized.

Copy link
Contributor

pingan1927 commented Sep 16, 2016

这个我认可修改,原先的title也会保留,1.0

@yiminghe

This comment has been minimized.

Copy link
Contributor

yiminghe commented Sep 18, 2016

title 不保留的, 1.0 不考虑兼容以前

@pingan1927

This comment has been minimized.

Copy link
Contributor

pingan1927 commented Sep 19, 2016

那又得再升一遍了。。 大悲剧啊!

@pingan1927

This comment has been minimized.

Copy link
Contributor

pingan1927 commented Sep 20, 2016

尝试修改,感觉renderFooterrenderHeadertitlefooter都没有List.FooterList.Header来的实在好用。要定制样式,要套好多层,不能直接传入style,要添加onClick,都需要自己再封装一个div标签,
何必呢?

pingan1927 added a commit that referenced this issue Sep 20, 2016

pingan1927 added a commit that referenced this issue Sep 20, 2016

foriacus pushed a commit that referenced this issue Sep 20, 2016

观通
Merge branch 'master' into fix-indicator
* master:
  refactor List API remove List.Body #257
  chore: disabled deprecated warning

@yiminghe yiminghe closed this Sep 21, 2016

@susan-github

This comment has been minimized.

Copy link

susan-github commented Nov 1, 2016

虽然之前用title属性的时候,发现了它不可扩展这点不太友好,但是把List.Body List.Footer List.Header这些全部去掉了,实在是。。。。要升级的话,不是要改好多

@lock

This comment has been minimized.

Copy link

lock bot commented May 28, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 28, 2018

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