pull down to refresh

Please, explain it to me.
At the end, tell me what algo was used.