RefreshActionItem Demo

RefreshActionItem Demo


WARNING: This is a demo app for a library project!

RefreshActionBarItem is an action bar item that implements this common pattern:

* Initially it shows a refresh button.
* If the button is clicked, a background operation begins and the button turns into a progress indicator.
* When the background operation ends, the button is restored to its initial state.

The progress bar shows a magnitude which represents how far the operation has proceeded. The progress bar can also be made indeterminate, just like the built-in ProgressBar.

It is possible to add a small badge to the action item. This tells the user that there is new data available.

The demo sample is a showcase of the functionality of the library.

Recent changes:
Fixed bug which prevented the determinate progress indicator from displaying properly on devices with Android Gingerbread or older
Add to list
Free
93
4.7
User ratings
27
Installs
1,000+
Concerns
0
File size
652 kb
Screenshots
Screenshot of RefreshActionItem Demo Screenshot of RefreshActionItem Demo Screenshot of RefreshActionItem Demo
About RefreshActionItem Demo
WARNING: This is a demo app for a library project!

RefreshActionBarItem is an action bar item that implements this common pattern:

* Initially it shows a refresh button.
* If the button is clicked, a background operation begins and the button turns into a progress indicator.
* When the background operation ends, the button is restored to its initial state.

The progress bar shows a magnitude which represents how far the operation has proceeded. The progress bar can also be made indeterminate, just like the built-in ProgressBar.

It is possible to add a small badge to the action item. This tells the user that there is new data available.

The demo sample is a showcase of the functionality of the library.

Recent changes:
Fixed bug which prevented the determinate progress indicator from displaying properly on devices with Android Gingerbread or older

Android Market Comments
A Google User
Apr 22, 2015
Cool
A Google User
Oct 6, 2013
Very helpful This is a great way to demonstrate the functionality of your library. I wish more developers would do this.
A Google User
Apr 11, 2013
Thanks for sharing the code!
Version 1000000
Version 1000000