Open diliproshitha opened 7 years ago
For Adding Swipe-to-Refresh To Your App You can Add the SwipeRefreshLayout Widget or Add a Refresh Action to the Action Bar, You can get here every single detail --> (https://developer.android.com/training/swipe/add-swipe-interface.html#AddSwipeWidget)
And for Respond to the Refresh Gesture or Respond to the Refresh Action -->(https://developer.android.com/training/swipe/respond-refresh-request.html#RespondAction)
How can i add a refresh button? which methods should I call?