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

我要做个可以上下滚动的页面。上拉下拉刷新。 发现没有哪个ui容器合适的? #40

Closed
slxgsy opened this issue Jul 2, 2016 · 2 comments

Comments

@slxgsy
Copy link

slxgsy commented Jul 2, 2016

用RefreshTableView 的方法 不能设置每个cell的间隔miniSpacing,用RefreshCollectionView 又不能设置列表 顶部的内容。其他的ui容器也没看大合适的。怎么弄?有这样的demo吗?

@slxgsy
Copy link
Author

slxgsy commented Jul 2, 2016

问题解决了。不同的cell单独写模版

Cell = {
Id = function ( section, row )
if( row==1 ) then
return "BannerLable";
elseif( row==2 ) then
return "NavigationLable";
else
return "ListLabel";
end
end,

@MonsterStorm
Copy link
Contributor

上拉刷新可以考虑用一个cell来自动加载。
也可以扩展官方功能来实现。

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