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
17
votes
1 answer

Implementing pull to refresh view feature

Can we implement pull to refresh feature on a custom view controller?. My view controller is not a table view controller and I want to refresh this view on pulling the screen down. How can I implement this feature?
Abhinav
  • 37,684
  • 43
  • 191
  • 309
16
votes
3 answers

How to implement pull to refresh on a ListFragment

I'm trying implement "pull to refresh" on a ListFragment but right now none of the drop in libraries seem to support it. There's no way to detect overscroll on the list fragment that I can see so I'm wondering if anyone has found a means to get this…
George
  • 437
  • 1
  • 6
  • 11
16
votes
4 answers

Glitchy animation of UIRefreshControl with large titles or searchbar in navigation bar

I have a controller embedded in a navigation controller with Large Titles and a UIRefreshControl. When I pull-to-refresh on my tableView, the animation of the activity indicator is very glitchy. I don't know if I have a bad behaviour in my code…
magohamote
  • 1,484
  • 1
  • 17
  • 29
16
votes
3 answers

How to add refresh control to collection view large titles navigation bar in iOS 11?

According to Apple the refresh control should be part of the large title navigation bar in iOS 11. The refresh control is part of the navigation bar (on pull to refresh) when I enabled the refresh control in my storyboard for a…
funkenstrahlen
  • 3,032
  • 2
  • 28
  • 40
14
votes
4 answers

Pull To Refresh in iOS 7

I'm trying to get the pull to refresh feature working properly on iOS 7 in my Table View. On viewDidLoad, I have: self.refreshControl = [[UIRefreshControl alloc] init]; [self.refreshControl addTarget:self…
user717452
  • 33
  • 14
  • 73
  • 149
13
votes
1 answer

Error:In SherlockSpinner, unable to find attribute android:popupPromptView

My project contains "ActionBar Sherlock Pull to refresh" and compiles and runs fine with API level 21 and earlier but when i am trying to compile it with API 22, i'm getting this error: Error:In SherlockSpinner, unable to find…
Morteza Rastgoo
  • 6,772
  • 7
  • 40
  • 61
13
votes
1 answer

Pull down to refresh in Windows Phone 8.1

I want to implement the pull-down-to-refresh function in my WP8.1 (Runtime) app. I tried to find a solution for this WP version, but as I have seen this function works in older versions of WP. I have a ListView where I would like to use it. With…
13
votes
7 answers

UIRefreshcontrol jitters when pulled down and held

I have created a UIRefreshcontrol in my tableviewcontroller as follows in the viewdidload method : refresh = [UIRefreshControl.alloc init]; refresh.attributedTitle = [[NSAttributedString alloc] initWithString:@"Pull to Refresh"]; …
Anum Malik
  • 554
  • 1
  • 7
  • 11
13
votes
2 answers

Android - how can i know when gridview has reached the bottom?

I'm building an app that loads images from JSON and displays them as grid view. the problem is that there are hundreds of images and i want to load 20 each time, I want to download more pictures from the server when the scroll reaches the…
digitalmidges
  • 826
  • 3
  • 13
  • 24
12
votes
4 answers

Disable Chrome's pull-to-refresh on iPhone

I am implementing a drawing app on my site and trying to prevent overscroll while the user draws on the canvas. Despite trying several reported solutions, I cannot disable Chrome's pull-to-refresh. According to…
user3621913
  • 121
  • 1
  • 1
  • 4
12
votes
3 answers

Disable Pull-To-Refresh

I have a static group of cells, a few groups actually, and for some reason the pull to refresh function is enabled, I can't figure out where, at least in Xcode Interface builder an option is to disable that. I assume I'll have to do it…
trever
  • 961
  • 2
  • 9
  • 28
12
votes
0 answers

ProgressBar under ActionBar, like the last GMail app update

i would like advices to reproduce the last refresh we can find in the last gmail update under the bar action. Thank you for support. I guess, i have to use onScroll handler on a ListView via public void onScroll(AbsListView absListView, int…
11
votes
6 answers

PullRefreshIndicator overlaps with ScrollableTabRow

I'm starting to learn about Jetpack Compose. I put together this app where I explore different day-to-day use cases, each of the feature modules within this project is supposed to tackle different scenarios. One of this feature modules – the…
11
votes
1 answer

How to pass int array of color resource ids from array.xml to SwipeRefreshLayout.setColorSchemeResources

I've got Android's SwipeRefreshLayout working and am trying to customize the colors across all the pull to refreshes throughout the app. In order to follow the DRY principle, I've tried moving the desired colors to array.xml as follows:
Andrew Cross
  • 1,921
  • 2
  • 19
  • 32
10
votes
1 answer

JQuery Mobile : Pull to refresh list view

Possible Duplicate: How to do this pull-to-refresh in webapp? Is there a plugin available which will animate a list item of a list-view such that when pulled down or pulled up the list-view can be added with new list items using ajax? I came…
frictionlesspulley
  • 11,070
  • 14
  • 66
  • 115
1
2
3
45 46