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
480
votes
18 answers

How to implement Android Pull-to-Refresh

In Android applications such as Twitter (official app), when you encounter a ListView, you can pull it down (and it will bounce back when released) to refresh the content. I wonder what is the best way, in your opinion, to implement that? Some…
Randy Sugianto 'Yuku'
  • 71,383
  • 57
  • 178
  • 228
181
votes
6 answers

Pull to refresh UITableView without UITableViewController

I'm trying to implement a pull to refresh feature in a UITableView within a UIViewController. I can't use a UITableViewController because I want the UITableView to be a smaller subview in the view controller, with some other stuff above it. I assume…
Daniel Robinson
  • 3,347
  • 2
  • 18
  • 20
94
votes
2 answers

How to disable "pull to refresh" action and use only indicator?

I enabled "pull to refresh" to my project using the SwipeRefreshLayout. When I move down, appear the loading indicator (material design style). I know, it must so work, but I want to disable this function, and start refreshing by click some button…
78
votes
8 answers

Set UITableView content inset permanently

In my app I have a UISearchBar under UINavigationBar so it is always visible to user. In that case I had to set contentInset with extra 44px so the UIScrollView will be scrolling under UISearchBar (exactly like in Contacts.app). And there would be…
cojoj
  • 6,405
  • 4
  • 30
  • 52
75
votes
7 answers

Pull to refresh recyclerview android

Hi I've a tabbed activity, and in the first tab I fetch data from server and show it in a recyclerview within card views. For fetching the data from server I use the volley library. I want to implement the Pull to refresh to load the data (so…
72
votes
5 answers

Pull-to-refresh in UICollectionViewController

I want to implement pull-down-to-refresh in a UICollectionViewController under iOS 6. This was easy to achieve with a UITableViewController, like so: UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init]; [refreshControl addTarget:self…
mjh
  • 3,508
  • 3
  • 19
  • 19
60
votes
12 answers

flutter: no refresh indicator when using RefreshIndicator

I added the RefreshIndicator to my page, but there is no indicator visible when pull to refresh. The code is below: class HomePage extends StatefulWidget { HomePage({Key key, this.title}) : super(key: key); final String title; @override …
mianlaoshu
  • 2,342
  • 3
  • 27
  • 48
44
votes
5 answers

iPhone Pull Down Refresh like Tweetie

I am trying to find an example of placing an element above the Table View outside the normal scrollable region. How would I do this? An example would be what the Tweetie 2 app for the iPhone does to refresh tweets. Sample code would be extremely…
DanO
  • 10,230
  • 4
  • 41
  • 34
34
votes
6 answers

How to implement "Swipe down to refresh" like in new GMail app

Google release the new Gmail app with an alternate way to handle pull down to refresh. Instead of showing the started hidden row that is pulled down. Gmail displays an animated message overtop of the action bar. The message includes an animated…
Reactgular
  • 52,335
  • 19
  • 158
  • 208
33
votes
1 answer

Pull to refresh like gmail new (4.5) application

In the new gmail application (4.5) the refresh is done by "Pull-to-Refresh" action in the Actionbar: Where can I find more information about that "Pull-to-Refresh"?
David
  • 37,109
  • 32
  • 120
  • 141
30
votes
8 answers

Adding pull to refresh on webview for refreshing

I will add pull to refresh on my webview so it refresh my webview. i have seen all questions on this page but i can't find the good way to add pull to refresh... Mainactivity.java package com.vvhvb.hesselfeenstra.vvheerenveenseboys; import…
Hessel
  • 437
  • 2
  • 5
  • 11
30
votes
8 answers

Animating UIScrollView contentInset causes jump stutter

I implemeted a custom refresh control (my own class, not a subclass), and for some reason since moving to iOS 8, setting the contentInset of the scroll view (specifically, UICollectionView) to start the refresh animation causes a weird jump/stutter.…
ryanthon
  • 2,524
  • 3
  • 17
  • 18
27
votes
6 answers

How to detect Pull to refresh

There are many "pull to refresh" plugins. I have already tested 5 of them. But none of them running fast (especially on old smartphones). What is the best (buttery UX performance and responsiveness) way to check for pull to refresh? PS: I don't need…
Peter
  • 11,413
  • 31
  • 100
  • 152
26
votes
5 answers

Android Lollipop - Pull to refresh

I am trying to implement pull-to-refresh in Android. I know there is SwipeRefreshLayout but with all the newly designed Google apps like Drive (see attached) for Lollipop, I have noticed there is a new refresh icon that comes in the view when…
gsb
  • 5,520
  • 8
  • 49
  • 76
20
votes
6 answers

Disable pull-to-refresh in iOS 15 Safari

iOS 15 is out and so is the new release of Safari that brings the ubiquitous pull-to-refresh. Like it or not, single-page apps don't like that too much. Here's how to disable it on Chrome for iPhone: Disable Chrome's pull-to-refresh on iPhone Any…
VH-NZZ
  • 5,248
  • 4
  • 31
  • 47
1
2 3
45 46