protected void setIsContentRefreshable(final boolean isRefreshable) {
        this.isRefreshable = isRefreshable;
        if (swipeRefreshLayout != null) {
            swipeRefreshLayout.setEnabled(isRefreshable);
        }
    }
set if the pull-to-refresh gesture should be enabled for the displayed content
main/src/main/java/cgeo/geocaching/activity/TabbedViewPagerActivity.java