private int pageIdToPositionWithErrorcode(final long page) {
        if (orderedPages == null) {
            return -1;
        }
        for (int i = 0; i < orderedPages.length; i++) {
            if (orderedPages[i] == page) {
                return i;
            }
        }
        return -1;
    }
Set if the content is refreshable. Defaults to true if the Activity contains a {@link SwipeRefreshLayout}.
main/src/main/java/cgeo/geocaching/activity/TabbedViewPagerActivity.java