//
//  ALGroupListTopView.h
//  GMAlpha
//
//  Created by ioszhb on 2018/12/8.
//  Copyright © 2018 Gengmei. All rights reserved.
//

#import "ALGroupDetailObject.h"

@protocol ALGroupListTopViewDelegate;

@interface ALGroupListTopView : GMView
@property (nonatomic, strong) ALGroupDetailObject *dataObj;
@property (nonatomic, weak) id<ALGroupListTopViewDelegate> delegate;
@end

/** delegateProtocol */
@protocol ALGroupListTopViewDelegate <NSObject>
/** delegate : topView高度发生变化 */
- (void)groupTopView:(ALGroupListTopView *)view changeHeight:(CGFloat)viewHeight;
/** delegate : 关闭小组信息 */
- (void)groupTopView:(ALGroupListTopView *)view clickedCloseButton:(UIButton *)closeBtn;
/** delegate : 查看明星信息 */
- (void)groupTopView:(ALGroupListTopView *)view clickedStarView:(UIView *)starView;
@end
