//
//  Home3MiddleBannerCell.h
//  Open
//
//  Created by 雷俊博 on 2019/8/27.
//  Copyright © 2019 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "BannerAdObjectModel.h"
#import "KKRedPackageClickEventModel.h"
#import "DHCWNativeAdView.h"

NS_ASSUME_NONNULL_BEGIN
@protocol MiddleBannerViewCellDelegate <NSObject>

- (void)selectedItem:(KKRedPackageClickEventModel *)model;

//- (void)selectedItem:(BannerAdObjectModel *)model index:(NSInteger)index;

//- (void)selectedItem:(KKRedPackageClickEventModel *)model index:(NSInteger)index;
@end

@interface Home3MiddleBannerCell : UITableViewCell

@property (nonatomic, weak)id<MiddleBannerViewCellDelegate> delegate;

//@property (nonatomic, strong)NSArray <BannerAdObjectModel *> *modelarray;
@property (nonatomic, strong)NSArray <KKRedPackageClickEventModel *> *modelarray;
- (void)setupCellWithModelArray:(NSArray *)modelarray  AdModel:(DHCWNativeAdDataObject *)model
                  delegate:(id<DHCWNativeAdViewDelegate>)delegate loca:(id<DHCWNativeLocaVideoAdDelegate>)localDelegate
             rootViewController:(UIViewController *)rootViewController;

@end

NS_ASSUME_NONNULL_END
