@Override
    public int getCount() {
        int count = hasIssues ? 5 : 4;
        count = hasReadme ? count : count - 1;

        return count;
    }
Create repository pager adapter

@param activity
@param hasIssues
app/src/main/java/com/github/pockethub/android/ui/repo/RepositoryPagerAdapter.java