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

UITableView pull to refresh causing flickering. How to prevent it?

I'm doing that pull-down-to-refresh thing. In scrollViewDidEndDecelerating I check if the offset is past a certain point and in scrollViewDidEndDragging I set the contentInset so as to keep the pulled-down section visible. However, this results in…
akaru
  • 6,299
  • 9
  • 63
  • 102
5
votes
2 answers

How to do this pull-to-refresh in webapp?

How is the Gmail pull-to-refresh implemented?
ohho
  • 50,879
  • 75
  • 256
  • 383
5
votes
4 answers

Pull down to refresh

I would like to implement a "Pull down to refresh" into my application. Just like twitter has in their iPhone app. I have found a good source code: PullDownToRefresh but people are saying that they have copyrighted it or somewhat? Please could…
K.Honda
  • 3,106
  • 5
  • 26
  • 37
5
votes
1 answer

Problem using RefreshIndicator widget with bloc pattern

I have a class called A which is a Stateless class and I have a class called B which is a Stateful class The build method of A class is as follows @override Widget build(BuildContext context) { return BlocProvider( bloc:…
user10241787
5
votes
0 answers

RN Horizontal pull to refresh

I have a horizontally scrolling React-Native FlatList that I implemented by setting the "horizontal" prop to true and it works perfectly but now I want to add pull to refresh and I cannot get this to work. I have added "refresing" and "onRefresh"…
Gerharddc
  • 3,921
  • 8
  • 45
  • 83
5
votes
1 answer

Pull to refresh issue using search bar and large title navigation bar

Having an issue while using large titles navigation bar and search bar in the navigation controller, when I try to pull for refreshing tableview shows an abrupt behavior on end refreshing. var searchController :…
5
votes
2 answers

fatal error: Index out of range when refreshing table view

I've this weird app crash when pulling to refresh occurs. My code goes as it follows: var posts: [Posts] = [] override func viewDidLoad() { super.viewDidLoad() // refreshControl -> pull to refresh handler let refreshControl =…
Ivan Cantarino
  • 3,058
  • 4
  • 34
  • 73
5
votes
2 answers

How to refresh SwipeRefreshLayout with two views inside

I have SwipeRefreshLayout with two child : RecyclerView And LinearLayout So i had to customize RecyclerView : recycler_view.setOnScrollListener(new RecyclerView.OnScrollListener() { @Override public void onScrolled(RecyclerView…
Hossein Kurd
  • 3,184
  • 3
  • 41
  • 71
5
votes
1 answer

Working Pull to refresh with disabled bounce

I have UItableview and active UIRefreshControl for pull to refresh action. So I am trying to disable bounce (that appears when I scroll UITableView) by unselecting "bounce" property of tableview in storyboard. But when I do this pull to refresh also…
Panich Maxim
  • 1,105
  • 1
  • 15
  • 34
5
votes
2 answers

Android - Pull down to refresh the whole page

I am making a feature that will let users to pull down a page anywhere in the application to check if they have a connection to the database server. I have followed this website, but it needs to Scrollview or ListView to function. All of my layouts…
OrdinaryProgrammer
  • 213
  • 1
  • 4
  • 13
5
votes
1 answer

Application throws java.lang.StackOverflowError Exception in Activity

I am working on one Android application. in my one activity i am using PullToRefreshListView. sometime i am getting java.lang.StackOverflowError Exception on my activity. i have tried to fix it and i also searched on google too but not getting…
Ajay
  • 1,189
  • 1
  • 12
  • 28
5
votes
0 answers

FragmentManager replace fragments without calling onPause() onDestroy() for the old fragment

In my application, I have a left menu that controls Fragment transactions in one FragmentView in my MainActivity. Above the FragmentView I have the new PullToRefresh component that is used in the new GMAIL only being refreshed in only one Fragment.…
5
votes
1 answer

Adapt chrisbanes ActionBar-PullToRefresh to Fragments(NavigationDrawer)

Okay here is my problem: I want to implement Chrisbanes ActionBar-PullToRefresh library with fragments to be able to use it with Navigationdrawer. https://github.com/chrisbanes/ActionBar-PullToRefresh#fragments . Chrisbanes says this for the use…
5
votes
4 answers

UITableView UIRefreshControl Does Not Show Its View The First Time

I have added the functionality of UIRefreshControl in my project that uses a UITableView. The app works by fetching entries from a web service to a tableview. Below is the code i have used to add UIRefreshControl: - (void)viewDidLoad { [super…
AJ112
  • 5,291
  • 7
  • 45
  • 60
5
votes
3 answers

Android Pull To Refresh ListView: eliminate arrow hint

I am using this library from Chris Banes (I will never thank this man enough). It has two different behaviors depending on the android version. I want to get rid of the graphical hint on the PullToRefresListView (circled in the image below) that is…
aveschini
  • 1,632
  • 3
  • 22
  • 39