Source: https://android.gadgethacks.com/how-to/customize-androids-pull-refresh-feature-for-every-app-your-phone-0169824/