Created
August 28, 2017 10:29
-
-
Save sagorbrur/35a6fb5d81e8f51dee840c7f71a2e963 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case R.id.menu_refresh: | |
| Log.i(TAG, "Refresh menu item selected"); | |
| // Signal SwipeRefreshLayout to start the progress indicator | |
| SRL.setRefreshing(true); | |
| // Start the refresh background task. | |
| // This method calls setRefreshing(false) when it's finished. | |
| myUpdateOperation(); | |
| return true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment