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
3
votes
3 answers

CollapsingToolbarLayout disable draw down expansion

I have a CollapsingToolbar that I have conditionally disabled. When the user loads the view under that condition, it just looks like a normal ToolBar object. The only weird thing is that if they drag down, such as in a pull to refresh style action,…
3
votes
0 answers

Refresh animation doesn't stop 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",…
user6465101
3
votes
1 answer

Android pull to refresh empty progress (no arrow)

I use the SwipeContainer from Google in my app using this code:
NVO
  • 2,566
  • 5
  • 27
  • 57
3
votes
4 answers

How do I add Pull to Refresh in WebView?

I'm very new to developing. I'm building a WebView and I want it to have pull to refresh capabilities. How do I go about doing that in swift? My code in the View Controller is @IBOutlet var webView: UIWebView! override func viewDidLoad() { …
Hunter Kirby
  • 33
  • 1
  • 4
3
votes
2 answers

Material "pull to refresh" in Swift?

I am trying to achieve pull to refresh in a WKWebView like in this Material pull to refresh GIF. Because we want to include websites that already have a html navigation bar, we need to keep the web view fix when dragging down. I found pull to…
Cristi Ghinea
  • 474
  • 1
  • 7
  • 20
3
votes
1 answer

RefreshControl bugs first Cell of TableView, after using Back on NavBar

I have a TableView embedded in NavigationController (and that's embedded in a TabBar Controller). I have a username button in each cell that segues to the user's profile. However after I hit 'back' on the profile page's nav bar, and gets directed…
senty
  • 12,385
  • 28
  • 130
  • 260
3
votes
2 answers

UITableview refreshing cells scrolling under section header

I am using UzysCircularProgressPullToRefresh in order to refresh my tableview. My UITableView have 1 static section with a title and I want it always fixed at the top of the table(That's why I don't want to use UITableViewStyleGrouped). When the…
3
votes
2 answers

UIScrollview Pull to refresh not working

self.refreshControl = [[UIRefreshControl alloc]init]; [self.objDiscussiontopic addSubview:self.refreshControl]; [self.refreshControl addTarget:self action:@selector(refreshTable) forControlEvents:UIControlEventValueChanged]; -…
3
votes
3 answers

Pull to refresh UITableView without UITableViewController is not working

I can't seem to find a working solution. I've tried the other available solutions to implement pull to refresh in a UITableView without a UITableViewController but nothing happens. This is the relevant code: @IBOutlet weak var tableView:…
josealvarado111
  • 565
  • 1
  • 9
  • 24
3
votes
0 answers

Android: GridView Pull-To-Refresh - Override the animation?

So I implemented a Pull-to-Refresh on my GridView using android.support.v4.widget.SwipeRefreshLayout and it works well. But when dragging down the finger, only the animation plays and the 'GridView-being-pulled-down-animation' doesn't happen like it…
Pjayness
  • 365
  • 1
  • 6
  • 22
3
votes
1 answer

Swipe down to refresh Material Design

I've been looking around for the implementation of the new material design swipe down to refresh on RecyclerViews with the loading circle coming down from the ActionBar, like the new Gmail app. I haven't found anything similar yet, only some…
3
votes
1 answer

Change pull to refresh text color with swift

I have a pull to refresh in my app. How do i change the text color of the attributedTitle ? refresher.attributedTitle = NSAttributedString(string: "hey ! is there something new ?")
jmcastel
  • 1,365
  • 7
  • 17
  • 34
3
votes
2 answers

Pull to Refresh in Swift not Reloading UITableView

I've got JSON filling my UITableView successfully, but the JSON is often updated so I need the ability to refresh. I followed THIS TUTORIAL to implement a pull to refresh control. Visually, it seems like it all works correctly, but when I call…
davidrayowens
  • 1,562
  • 2
  • 13
  • 23
3
votes
1 answer

Android: pull down a view smoothly like in Twitter app

I would like to implement the same pull-to-refresh UI pattern used by the Twitter app. I have been trying to use a RelativeLayout containing a ListView, but it's really slow. How can I make it as smooth as Twitter? I have been using the Listview's…
Daniele B
  • 19,801
  • 29
  • 115
  • 173
3
votes
2 answers

How to make Android pulltorefresh bounce back if the user doesn't pull all the way down?

I'm using Chris Banes's (older) pulltorefresh library. I have it working except when the user doesn't pull all the way down (not far enough to refresh) the View doesn't scroll back up. It scrolls if the user pulls all the way down. Anyone have any…
smoreilly
  • 55
  • 5