@Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {
        if ((requestCode == GIST_CREATE || requestCode == GIST_VIEW)
                && RESULT_OK == resultCode) {
            pagedListFetcher.refresh();
            return;
        }

        super.onActivityResult(requestCode, resultCode, data);
    }
Fragment to display a list of Gists
app/src/main/java/com/github/pockethub/android/ui/gist/MyGistsFragment.java