Swipe down refresh is very latest in most of apps like facebook, twitter and lot’s of other great app in play store. In this post i show how to create that feature in your app. Some of my last i also explain how to implement SwipeRefresh but there are some issue in it :-p so i update and fix all that in this.

Code:

Step 1 Create new project in android studio or open your project where you want to implement swipe refresh.

Step 2 Now open your activity_main.xml or file that file where you want to implement this.

Step 3 Now open your Mainactivity.java file where we get our main work done.

In above code i did not sync data from server but it is very easy to implement hope you can do that thing easily.  Hope this help you.

Happy coding 🙂