首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

基于Tableview的滚动,如何避免数据不变的有关问题-待整理

2013-01-23 
基于Tableview的滚动,如何处理数据不变的问题-----待整理http://hi.baidu.com/justtmiss/item/f3f6d50ce39

基于Tableview的滚动,如何处理数据不变的问题-----待整理

http://hi.baidu.com/justtmiss/item/f3f6d50ce395f1d872e67630--感谢这边文章的作者,我从里面得到了启发


http://hi.baidu.com/justtmiss/item/f3f6d50ce395f1d872e67630



    NSString *CellIdentifier = [NSStringstringWithFormat:@"Cell%d%d", [indexPathsection], [indexPath row]];

    UITableViewCell *cell = [tableViewdequeueReusableCellWithIdentifier:

                             CellIdentifier];

    if (cell == nil) {  

        cell = [[[UITableViewCellalloc] initWithStyle:UITableViewCellStyleDefault

                                       reuseIdentifier: CellIdentifier]autorelease];

    }


这是我程序里面的正确代码,由于目前项目紧张。我打算过一段时间在好好描述一下问题和解决方案。

热点排行