Only fetching 20 data each screen on scroll

hello everyone, there are a few things I need to know, how can we retrieve some data when the data is first retrieved, for example when the first data is retrieved it only displays 25 data then when the user scrolls down the screen it will retrieve 25 data again and display to the recycler list, I’ve heard that this is a pagination technique