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

How to prevent user from scrolling while implementing swipeRefreshLayout?

In my app I have a recycler view with 20 - 30 items and I have the function to pull to refresh the content, and I want to prevent the user from scrolling the view while the refresh is in progress because it creates an error if the user ties to…
2
votes
2 answers

How to include 3rd party module (angular-pull-to-refresh), which has no type definitions

I'm a complete beginner and I don't have any idea, how include libraries and inject module, so please, bear with me. This is the module I want to include: https://github.com/mgcrea/angular-pull-to-refresh I installed module with bower and…
rozman
  • 143
  • 1
  • 10
2
votes
1 answer

Xamarin - WebView Pull To Refresh

I've searched everywhere on google and it seems like this 'Pull To Refresh' feature is only available for ListViews. There are some posts regarding 'Pull To Refresh' for WebView but they are coded in Java and in Android Studio. Is there any easy way…
SunAwtCanvas
  • 1,261
  • 1
  • 13
  • 38
2
votes
1 answer

WebView in ScrollView calling refreshControl when swiping up React Native Android all the time

I have a WebView inside a ScrollView on a React Native app. The ScrollView has the refreshControl prop so I can refresh the WebView when I reach the top of the app. Here's the problem: I scroll the WebView without a problem, but whenever I swipe up…
2
votes
1 answer

pull to refresh in webView using webkit in swift 4

I'm already add pull to refresh function in my code, the icon refresh will appear when I start pull it but when I had make changing in the webview such as tick the checkbox or enter the text in textbox,,why It not reset back to the default…
Mr White
  • 89
  • 1
  • 6
2
votes
3 answers

Reload same URL in webview when refresh

I created a little android app to view a responsive website. I have implemented a pull refresh and it works, however when pulling on refresh it redirect to the home page I put in the LoadUrl. How to refresh by reloading the same url the user is…
Amine Richer
  • 23
  • 1
  • 6
2
votes
0 answers

Pull to Refresh on Cordova Hybrid React App

I am trying to find a Pull to Refresh implementation for React that will work on mobile. My app is built in React (not React Native), with a Redux store. We are then using Cordova to get some of the native capabilities on the mobile devices. I have…
Julie Torres
  • 135
  • 1
  • 1
  • 8
2
votes
1 answer

Ionic 2 refresher is not working over IFRAME

I am developing a web app using IONIC 2. the home component contains an iframe with full width and height. The Refresher is working fine when I pull down outside the IFRAME but when I pull down over the IFRAME to refresh the app then Refresher it…
Syed Aqeel
  • 1,009
  • 2
  • 13
  • 36
2
votes
2 answers

React Native: Refresh Control not available if I clear the Listview data source

When I set the data source to my listview, refresh control (pull down to refresh) works perfectly fine. In case the data source is empty, I am not able to pull down to refresh the listview. My listview looks like this:
Sood
  • 121
  • 1
  • 2
  • 14
2
votes
4 answers

Refresh animation/spinning wheel doesn't stop/disappear with “self.refreshControl.endRefreshing()” on iOS 10

This is my code: func pullToRefresh() { if Reachability().connectionStatus() == .Online { self.homewebview.reload() } else { self.refreshControl.endRefreshing() let alert = UIAlertView(title: "No Internet connection",…
user6571697
2
votes
3 answers

Issues when relative layout implement swipe-to-refresh layout

I'm currently attempting to implement swipe-to-refresh layout into relative layout, but it is extremely insensitive and unstable. When I pull down the screen, it usually either doesn't refresh or it refreshes without progress…
Runkun Miao
  • 335
  • 1
  • 3
  • 14
2
votes
2 answers

Pulltorefresh works only once not multiple times

I have got a tableview with prototype cells. I have got the following code in my viewDidLoad method, _refreshControl = [[UIRefreshControl alloc]init]; [_refreshControl addTarget:self action:@selector(refreshData)…
user6092898
2
votes
2 answers

Disable default SwipeRefreshLayout animation on refresh

I am using swiperefreshlayout for pulltorefresh. when user pulls down it shows loading animation without calling setRefreshing(true). I want to show loading animation only when setRefreshing(true) is called. Is there any way to disable auto showing…
smali
  • 4,687
  • 7
  • 38
  • 60
2
votes
0 answers

UIRefreshControl not working

I have a table view app with some refresh code (as in below). I have also enabled refreshing in my Main.storyboard. override func viewDidLoad() { super.viewDidLoad() self.refreshControl?.addTarget(self, action: "refresh:", forControlEvents:…
2
votes
1 answer

add pull2refresh to tabs in codenameone

i have added the following codes for pull2refresh but the run method is not called. I have tested for form and its ok for form. How to make it workable for tabs so that I can update all tab at once . and I have pull2refresh of form for whole for…
tizbn
  • 1,907
  • 11
  • 16