//
//  KKPlayerListView.h
//  Open
//
//  Created by 雷俊博 on 2020/6/15.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XMSDK.h"

NS_ASSUME_NONNULL_BEGIN

@interface KKPlayerListView : UIView

@property (nonatomic, strong)XMAlbum* albumModel;

//点击播放track回调
@property (nonatomic, copy, nullable) void(^KKPlayerListViewDidSelectedBlock)(XMTrack* track, NSArray*dataArray, NSInteger index);

@property (nonatomic, copy, nullable) void(^KKPlayerListViewHiddenBlock)(void);

@property (nonatomic, strong)NSMutableArray*dataArray;

@property (nonatomic, strong)UITableView* tableView;

@property (nonatomic, assign)NSInteger currentIndex;


- (instancetype)initWithData:(NSArray *)dataArray index:(NSInteger)index model:(XMAlbum *)albumModel currentPage:(NSInteger)currentPage;


@end

NS_ASSUME_NONNULL_END
