     fileprivate var needRefreshDynamicLastCellHeight: Bool = true
     fileprivate var dynamicLastCellHeight: CGFloat?
     fileprivate var previousRowFrame = CGRect()
+    fileprivate var shouldCallHeightForRow = true
     
     /// Override in subclass, usually by connecting to an IBOutlet collection.
     open var excludedCells: [UITableViewCell]? {

        }
        return height
    }
    
}

            : super.tableView(tableView, heightForRowAt: superIndexPath(for: indexPath))
        if filledUsingLastCell && indexPath == lastCellIndexPath {
            if isDynamicLastCell {
                if let dynamicLastCellHeight = self.dynamicLastCellHeight, shouldCallHeightForRow {
                    height = dynamicLastCellHeight
                    let currentPreviousRowFrame = tableView.rectForRow(at: IndexPath(row: indexPath.row - 1, section: indexPath.section))
                    // Detect changes on tableView contents after dynamicLastCellHeight is set.
