Pull to Refresh

This lesson will introduce how we can add a pull-to-refresh functionality to the blog list screen to indicate that data loading is in progress and to give a user the ability to manually refresh the data.

We'll cover the following

Swipe-refresh-layout #

The pull-to-refresh layout (also known as swipe-refresh-layout) is available as a separate library, so in order to use it we need to update our dependencies in build.gradle file.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy