public void setNumberOfVisibleDays(int numberOfVisibleDays) {
        this.mNumberOfVisibleDays = numberOfVisibleDays;
        mCurrentOrigin.x = 0;
        mCurrentOrigin.y = 0;
        invalidate();
    }
Set the number of visible days in a week.
@param numberOfVisibleDays The number of visible days in a week.
library/src/main/java/com/alamkanak/weekview/WeekView.java