UITableView 局部刷新
2013-12-26 14:48
253 查看
//局部section刷新
NSIndexSet * nd=[[NSIndexSet alloc]initWithIndex:1];//刷新第二个section
[tview reloadSections:nd withRowAnimation:UITableViewRowAnimationAutomatic];
//局部cell刷新
NSIndexPath *te=[NSIndexPath indexPathForRow:2 inSection:0];//刷新第一个section的第二行
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:te,nil] withRowAnimation:UITableViewRowAnimationMiddle];
转载:http://blog.csdn.net/learnios/article/details/8590399
NSIndexSet * nd=[[NSIndexSet alloc]initWithIndex:1];//刷新第二个section
[tview reloadSections:nd withRowAnimation:UITableViewRowAnimationAutomatic];
//局部cell刷新
NSIndexPath *te=[NSIndexPath indexPathForRow:2 inSection:0];//刷新第一个section的第二行
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:te,nil] withRowAnimation:UITableViewRowAnimationMiddle];
转载:http://blog.csdn.net/learnios/article/details/8590399
相关文章推荐
- 局部刷新UITableView
- 局部刷新UITableView
- UITableView刷新局部
- UITableView 局部刷新
- 关于执行ajax后页面局部刷新,无法执行jQuery问题
- asp.net 页面局部刷新
- jsp 验证码以及验证码局部刷新
- Jquery局部刷新--多用于评论回复等
- AO中的对高亮显示的局部刷新及对局部刷新方法的总结
- DropDownList 局部刷新
- ClientScript.GetCallbackEventReference实现局部刷新
- ajax鼠标滚动到网页底部实现局部刷新~瀑布流
- php验证码刷新与局部刷新
- 解决局部不刷新问题
- Android_List局部刷新某一个item
- 利用jquery load 局部刷新数据
- Ajax+php数据交互并且局部刷新页面的实现详解
- HttpContext是干什么的; asp.net 获取网站路径;DataSet读取xml文件;updatepanel 控件的局部刷新 always和condition
- Pjax实现网页局部刷新
- android recycleView局部刷新的选择