DEPRECATED

Min SDK   14
Latest Commit   2014-03-06 17:20:14
License   unknown

Github   https://github.com/chrisbanes/ActionBar-PullToRefresh

         

使用APP客户端扫描二维码运行Demo


...

chrisbanes
Google UK
London, UK

http://chris.banes.me

         

类似的还有....
ActionBarSherlock [DEPRECATED] Action bar implementation which uses the native action bar on Android 4.0+ and a custom implementation on pre-4.0 through a single API and theme.
FadingActionBar Android library implementing a fading effect for the action bar, similar to the one found in the Play Music app
NotBoringActionBar News Stand app makes the ActionBar not boring!
README

README.md

PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED


ActionBar-PullToRefresh

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

Get it on Google Play

ActionBarSherlock Sample

Get it on Google Play

Video

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.

Bitdeli Badge