ActionBar-PullToRefresh

Additional

Language
Java
Version
v0.9.9 (Apr 26, 2014)
Created
Jun 4, 2013
Updated
Apr 28, 2014 (Retired)
Owner
Chris Banes (chrisbanes)
Contributors
Chris Banes (chrisbanes)
Richard Samela (feromakovi)
Charles Rosaaen (InsanityOnABun)
Jonas Kalderstam (spacecowboy)
Erik Charlebois (erikcharlebois)
Young Juan (youngj523)
Vince Mi (vinc3m1)
Mando Stamelaki (madlymad)
Marius (recallfx)
Łukasz Czaplicki (fada21)
Tiger Fok (imTigger)
Bernardo Hernández (RockoDev)
Oliver Rennies (oRRs)
Joakim Berglund (Berglund)
Antoine Merle (castorflex)
Said Tahsin Dane (tasomaniac)
Michael Basil (intrications)
17
Activity
Badge
Generate
Download
Source code

Advertisement

PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED


ActionBar-PullToRefresh

ActionBar-PullToRefresh provides an easy way to add a modern version of the pull-to-refresh interaction to your application.

Please note that this is not an update to Android-PullToRefresh, this has been created from new. You should think of this as Android-PullToRefresh's younger, leaner cousin.

This is a Preview

Please note that this is currently in a preview state. This basically means that the API is not fixed and you should expect changes between releases.


Sample Apps

There are two sample applications, the stock sample which uses the standard library and is therefore has a minSdkVersion of 14. There is also a sample which uses the ActionBarSherlock extra so has a minSdkVersion of 7.

Stock Sample

ActionBarSherlock Sample

Video


Supported Views

ActionBar-PullToRefresh has in-built support for:

  • AbsListView derivatives (ListView & GridView).
  • ScrollView
  • WebView

If the View you want to use is not listed above, you can easily add support in your own code by providing a ViewDelegate. See the ViewDelegate section below for more info.


Usage and Integration

See the Quick Start guides for more information on how to achieve a simple integration:

Then we are some advanced integration information:

  • ListFragment when integrating the library with a ListFragment.

Customisation

See the Customisation page for more information.

License

Copyright 2013 Chris Banes

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.