Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasjafelle committed Apr 6, 2014
1 parent 106e823 commit 7785a97
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,22 @@ refreshHelper.stopLoading();

Check the sample <a href="https://github.com/nicolasjafelle/RefreshMenuItem/tree/master/RefreshMenuItemProject/RefreshMenuItemSample">Demo Sample</a>

Important Tip
================

If you need more items in your ActioBar like: refresh, help, about us, settings simple extends RefreshMenuItem class and overrides onCreateOptionsMenu(MenuInflater menuInflater, Menu menu, boolean useHoloDark):
``` java
public class MyRefreshMenuItem extends RefreshMenuItemHelper {

@Override
public boolean onCreateOptionsMenu(MenuInflater menuInflater, Menu menu, boolean useHoloDark) {
menuInflater.inflate(R.menu.full_menu, menu);
return true;
}
}
```


Developed By
================

Expand Down

0 comments on commit 7785a97

Please sign in to comment.