//
//  BaseTableViewController.h
//  LifeLog
//
//  Created by nvtu on 8/11/17.
//  Copyright © 2017 PhongNV. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BaseTableViewController : UIViewController<UITableViewDelegate, UITableViewDataSource> {
    NSMutableArray *   _curDataList;
    BOOL               _firstTime;
    BOOL               _isLoading;
    BOOL               _isEndOfResult;
    BOOL               _isDisableLoadMore;
    int                _curPage;
}

@property (weak, nonatomic) IBOutlet UITableView *tableBase;
@property (strong, nonatomic) UIRefreshControl  *refreshControl;

-(void) callRequestToUpdateData;
-(void) updateTableData : (NSArray *) array error: (NSError *) error;
-(void) resetData;
@end
