//
//  HomeMemberViewController.h
//  kneet
//
//  Created by Jason Lee on 6/15/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

#import "JDViewController.h"

@interface HomeMemberViewController : JDViewController


#pragma mark - Properties
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UIView *editModeView;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintEditModeRight;


#pragma mark - Instance Methods
- (void)updateHomeHubStatusToMembers;
- (void)refreshHomeMemberList;
- (IBAction)btnOptionTouched:(id)sender;

- (IBAction)btnDeleteOnEditModeTouched:(id)sender;
- (IBAction)btnCloseOnEditModeTouched:(id)sender;

@end

@class CustomButton;
@class CustomLabel;
@class CustomImageView;
@class CustomCheckBox;

@interface HomeMemberCollectionCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet CustomImageView *imgvMemberIcon;
@property (weak, nonatomic) IBOutlet CustomLabel *lblNickname;
@property (weak, nonatomic) IBOutlet CustomLabel *lblStatus;
@property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;

@end


@interface HomeMemberAddCollectionCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet CustomButton *btnAdd;

@end

@interface HomeMemberCollectionFooterView : UICollectionReusableView
@property (weak, nonatomic) IBOutlet CustomButton *btnAdd;

@end