caseUNDOATTENTION:
{
FriendInfo *info = [dataArray objectAtIndex:0];
[self.managerattentionList:_pageIndexoneRecord:YESotherId:-100];
[self.dataArray removeObject:info];
self.isOneRecord = YES;
break;
}
case ATTENTIONLIST:
{
_hasMore = state.hasMore;
if (_pageIndex == 1 && self.dataArray && !self.isOneRecord) {
[self.dataArray removeAllObjects];
}
self.isOneRecord = NO;
[self.dataArray addObjectsFromArray:dataArray];
break;
}
原文地址:http://www.cnblogs.com/guligei/p/3772050.html