Questions tagged [pull-to-refresh]

Pull To Refresh is a UI interaction wherein a user pulls down on a scrolling view or list, beyond the upper bounds of the view, and releases it in order to refresh the contents of that view or list.

Pull To Refresh is a UI interaction wherein a user pulls down on a scrolling view or list, beyond the upper bounds of the view, and releases it in order to refresh the contents of that view or list.

This interaction has been used in many published apps, mainly for mobile devices, and has become one of the most widely used methods of allowing a user to refresh their current view.

Pull To Refresh libraries:

  • Android-PullToRefresh - Implementation of the Pull-to-Refresh UI Pattern for Android
  • Three20 - Three20 is an Objective-C library for iPhone developers (contains a pull to reload component)
  • EGOTableViewPullRefresh - A similar control to the pull down to refresh control created by atebits in Tweetie 2
  • ODRefreshControl - A pull down to refresh control like the one in Apple's iOS6 Mail App
677 questions
8
votes
3 answers

UIRefreshControl not working when called prorgammatically

I have a UIRefreshControl in my ViewController and a method refreshView to handle "pull to refresh" event. It works perfectly when actually pulling, but when I call [refresh beginRefreshing] in code, it just shows refresh animation but doesn't call…
Yury Pogrebnyak
  • 4,093
  • 9
  • 45
  • 78
7
votes
0 answers

Move RecyclerView together with the Swipe Refresh Layout indicator (like Instagram pull to refresh)

I want to move Recyclerview together with the Swipe Refresh Layout indicator (do not place the indicator above the Recyclerview, but Recyclerview should be appeared below of swipe refresh indicator). I have implemented a recyclerView inside a…
7
votes
3 answers

Pull-to-refresh modifies array value?

I'm working on a pull-to-refresh on iOS with Swift. I have an array with city names, cityNames = ["Chicago", "New York City"] I implemented a pull-to-refresh to fetch temperature data from the internet. So every time I trigger the pull-to-refresh,…
f_qi
  • 689
  • 8
  • 21
7
votes
2 answers

Pull to refresh for Android and Phonegap

We are building multi-platform mobile app using Cordova, html, css. For some of our screen, we need pull to refresh functionality. I tried Damien's solution…
user3233772
  • 1,867
  • 3
  • 13
  • 6
7
votes
2 answers

iOS - Refresh Control - "Attempting to change the refresh control while it is not idle is strongly discouraged and probably won't work properly."

I cannot find many references to this warning anywhere. I have two view controllers that offer pull-to-refresh control. One is fine. The other produces the warning above. I copied the code from one to the other. The code is as follows (PFUser refers…
ICL1901
  • 7,632
  • 14
  • 90
  • 138
7
votes
2 answers

pull to refresh animation like mail in iOS6

I am an iOS developer and recently i got installed the newest iOS 6 on testing. As i came across with mail pull to refresh animation, i decided to try to implement it on my own. I have tried to use CAShapeLayer with UIBezierPath to create the same…
6
votes
1 answer

Android: Pull to Refresh for GridView

I'm currently looking for a possibility to implement a pull to refresh GridView. Does anybody have a clue if there's a complete custom view like the one in How to implement android pull to refresh
schlingel
  • 8,560
  • 7
  • 34
  • 62
6
votes
7 answers

error with SmartRefresher in flutter (Don't use one refreshController to multiple SmartRefresher,It will cause some unexpected bugs)

here in the controller: RefreshController refreshController = RefreshController(initialRefresh: false); @override void onInit() { fetchServices(); fetchCategory(); super.onInit(); } Future fetchServices({bool isRefresh…
Osama Mohammed
  • 2,433
  • 13
  • 29
  • 61
6
votes
1 answer

RefreshControl only appearing on top of first child in a horizontal ScrollView (iOS)

I have a use case where I want to list horizontally cards. I implemented it with a horizontal ScrollView. Then, for each card I would like to implemented the pull-to-refresh pattern so that the data displayed in the card are updated. I used…
6
votes
6 answers

Why do we need pull to refresh for mobile app?

I'm wondering why I still see a lot of apps (including fb & instagram) that use pull to refresh feature for updating content? I mean, they have notification system that can tell itself to refresh when there's new data. I see that FB for instance it…
user1955934
  • 3,185
  • 5
  • 42
  • 68
6
votes
1 answer

SwipeRefreshLayout not showing horizontal progress

I am using supportv4:22.0.0 to work with SwipeRefreshLayout. Its works fine but it show always a circular kind of progress instead of horizontal way progress . I have attached the screenshot for better understanding I have this But i want like this…
6
votes
1 answer

Issue while scroll List view with Pull to Refresh

I have develop an application that have one list view and i used Pull to refresh for refresh list data while pull down so i implemented in my code perfectly but i get one issue when i am scroll up list scroll down but when i am scroll down its not…
Android_Paradise
  • 325
  • 1
  • 5
  • 15
6
votes
1 answer

Android implementing SwipeListView with Pull to Refresh

I am trying to implement SwipeListView with Pull-to-Refresh on a ListView. it integrated successfully but it adds one item to the list after it. list view not refreshing. and no item added to the list. I have implemented the SwipeListView from here…
6
votes
4 answers

How to disable pulltorefresh functionality for first time?

I'm using chrisbanes's Android-PullToRefresh in my app. I need to disable pulltorefresh functionality for first time fragment launch - when list is empty and items are downloading in background. In this case (list is empty) user can swipe down and…
vsvydenko
  • 729
  • 1
  • 9
  • 22
6
votes
2 answers

Pull to refresh for GridView in Android

First of all, I want to tell you guys I have read and succeed developing Pull to refresh using Chris Banes library and Johan Nilsson library . Now I'm trying to go with Johan Nilsson library for GridView. He only implemented for ListView so I have…
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99