i want to rotate refresh in actionbarsherlock.previously i was using actionbar and was doing setRefreshActionItemState.
Asked
Active
Viewed 377 times
1 Answers
0
For refresh state you may try this link to get the answer Refresh menu item animation in ActionBarSherlock..
case R.id.refreshMenuItem:
isRefreshing = true;
item.setActionView(R.layout.action_bar_indeterminate_progress);
ImageView iv = (ImageView) item.getActionView().findViewById(R.id.loadingImageView);
((AnimationDrawable) iv.getDrawable()).start();

Community
- 1
- 1
-
Thanks for the link..But i need to set back the refresh state some whereelse like after loading something i need to set it back to original state ..That doesn't happen in your link righjt – user1340801 Feb 27 '13 at 08:19