// // ImageListViewModel.h // ThePaperHD // // Created by scar1900 on 15/6/30. // Copyright (c) 2015年 scar1900. All rights reserved. // 热门图集viewmodel #import #import "AsyncImageScrollView.h" @protocol ImageListViewModelDelegate @optional - (void)returnImageBOList:(NSMutableArray*)list cotentBO:(contentObjectBO*)contentOBJ; //返回图片数据源 - (void)returnHotImageList:(NSMutableArray*)list; //返回热门图集数据源 - (void)returnCommentList:(NSMutableArray*)commentArray nodeId:(NSString*)nodeId nextUrl:(NSString*)nextUrl commentTotalRecord:(NSInteger)recordTotal; - (void)returnHotAskDic:(NSMutableDictionary*)qaDic nodeId:(NSString*)nodeId nextUrl:(NSString*)nextUrl askTotalRecord:(NSInteger)recordTotal; - (void)collectResult:(BOOL)success; //收藏回调 - (void)contentHaveOffline; //文章已下线 - (void)remoteFail:(BOOL)isTimeOut; //网络出错 @end @interface ImageListViewModel : NSObject @property(nonatomic, strong)NSString *nodeID; //必传 @property(nonatomic, weak)id delegate; - (void)remoteAction; - (void)saveImage:(AsyncImageScrollView*)asyImageView; - (void)collectContent; - (void)cancelCollect; @end