//
//  ALRecommendUserView.h
//  GMAlpha
//
//  Created by Mikasa on 2018/11/7.
//  Copyright © 2018 Gengmei. All rights reserved.
//

@protocol ALRecommendUserViewDelegate;

@interface ALRecommendUserView : GMView

@property (nonatomic, strong) NSArray *recommendUserArray;
@property (nonatomic, assign) CGFloat recommendUserViewHeight;
@property (nonatomic, weak) id<ALRecommendUserViewDelegate> delegate;
+ (CGFloat)recommendUserViewHeight;

@end

@protocol ALRecommendUserViewDelegate <NSObject>
- (void)recommendView:(ALRecommendUserView *)view clickedIconAtIndexPath:(NSIndexPath *)indexPath;

/**
 触发 关注 事件

 @param view self
 @param indexPath cell的位置indexPath
 @param voteString 取值范围(@"do", @"undo"), 用于埋点,do:关注,undo:取消关注
 */
- (void)recommendView:(ALRecommendUserView *)view clickedFollowAtIndexPath:(NSIndexPath *)indexPath voteString:(NSString *)voteString;

@end
