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

How do I setup a custom ListView with divider using Android?

I wanted to implement Pull to Refresh feature in my android application, so I implemented this library: Android-PullToRefresh. However, I can't seem to set custom style to divide programmatically. The code is simple: list = (PullToRefreshListView)…
input
  • 7,503
  • 25
  • 93
  • 150
5
votes
1 answer

Does PullToRefresh work with FragmentPagerAdapter?

Libraries: https://github.com/chrisbanes/Android-PullToRefresh https://github.com/JakeWharton/Android-ViewPagerIndicator In the Sample PullToRefreshListInViewPagerActivity only works with PageAdapter. I couldn't find a way to put it to work with…
Marckaraujo
  • 7,422
  • 11
  • 59
  • 97
4
votes
1 answer

Pull-down-to-refresh listbox for windows phone

I'am wondering if is a way to implement the pull-down-to-refresh function of a listbox. I have followed this link to implement this function. When I set the "ManipulationMode=Control", the listbox scroll performance is so poor that it is beyond my…
ellic
  • 798
  • 12
  • 28
4
votes
1 answer

Implementing Chris Banes's pull to refresh together with horizontal swipe on list view

I have implemented (from here- horizontal swipe on listview) swipe gesture to mark-unmark items in a listview. I used Johan Nilsson's pull to refresh implementation to refresh items in the listview. The pull to refresh feature showed some abrupt…
gandharva
  • 691
  • 5
  • 16
4
votes
0 answers

Programmatically show the pull to refresh activity indicator of a refreshable List

I wonder if there's a simple way to make visible the activity indicator used by the refresh control of a SwiftUI List? This would provide a consistent appearance of a refreshing UI, regardless of how the refresh was initiated. After enabling pull to…
Andreas
  • 2,665
  • 2
  • 29
  • 38
4
votes
2 answers

Pull to refresh in Domain Driven Design app

I need to implement pull to refresh in an iOS app, and I came across this thing, in where I don't know how to approach the problem with the best practices of DDD. The presentation layer has an event to refresh a list, this needs to update the…
4
votes
2 answers

Flutter Pull To Refresh

I've implemented this code to show a list of json data from a web url. I've tried to implement a simple pull to refresh, but nothing works. Flutter code is long, but it's pretty simple actually. It has main classes of flutter, and a future method to…
grc
  • 304
  • 1
  • 5
  • 21
4
votes
1 answer

How to add Pull to refresh controller to scrollview?

Hi in my application I want to add Pull to refresh controller to scrollview. I write the following code but it don't getting any response. When ever I scroll the view on that time add target method is not called. @IBOutlet var scrool:…
4
votes
1 answer

Flutter: Pull to refresh and stream builder

I want to have a RefreshIndicator that has as a child a StreamBuilder that builds a list, but, it doesn´t work. This is my code: return Scaffold( appBar: buildAppBar(context), body:RefreshIndicator( onRefresh:…
Little Monkey
  • 5,395
  • 14
  • 45
  • 83
4
votes
1 answer

SwipeRefreshLayout conflict with scroll down in WebView

In my WebView application SwipeRefreshLayout doesn't work because when I scroll down it triggers page reload function. One solution I think would be limit the pull-to-refresh layout. I tried this and it doesn't seem to work. Here is my…
Abdullah Akçam
  • 299
  • 4
  • 18
4
votes
1 answer

iOS Pull To Refresh Not Working on Specific Devices like iPhone X

I am using pull to refresh for usual data refresh on a tableview. Here is my code -(void)addUIRefreshControl{ //Instantiate and Configure Refresh Control self.refreshControl = [[UIRefreshControl alloc] init]; // initialize refresh control …
4
votes
1 answer

Check if RecyclerView is scrolled on top (findFirstCompletelyVisibleItemPosition will not work)

How can i check if the recycler view is scrolled to its top (the begin of list) without using findFirstCompletelyVisibleItemPosition ? Explanation: I cant use this method, because the items on RecyclerView are big and sometimes will never be…
cesarsicas
  • 437
  • 1
  • 5
  • 17
4
votes
1 answer

Pull to Refresh executing the Command only once

I've scoured the internet for what would most likely be a simple solution but none seemed to have had the same problem as me. So to explain it briefly, I'm using Xamarin Forms and I have a ListView:
Marc Cilliers
  • 95
  • 1
  • 14
4
votes
2 answers

ListView PullToRefresh hide "Pull to refresh" string under a row above

I'm creating a QML layout with a Column and multiple Rows inside. First row contains a button, second row contains a list of items retrieved from a network service. I want to be able to do "pull to refresh" on the list, so I use PullToRefresh of the…
Unix One
  • 1,151
  • 7
  • 14
4
votes
2 answers

Pull to Refresh UWP - Grid view?

Could someone please advise me on the "correct" way of implementing Pull to refresh on UWP? Below are some examples I've found however I'm not sure which one is using the best approach: Microsoft sample which is for a ListView - This works however…
Xylynx
  • 267
  • 1
  • 3
  • 11