= false, reloading = false; tableView.addEventListener(‘scroll’, function(e){ var offset = e.contentOffset.y; if (offset <= 65 && !pulling && !reloadingoading) { // release to refresh proc } else if (pulling && (offset > -65 && offset < 0) && !reloading) { // pull down to refresh proc } }); tableView.addEventListener(‘dragend’, function(e){ if (pulling && !reloading) { reloading = true, pulling = false; // reloading proc } }); ... 139݄10Ր༵