MagicMashRoom / SuperCalendar

@Deprecated android 自定义日历控件 支持左右无限滑动 周月切换 标记日期显示 自定义显示效果跳转到指定日期
2.76k stars 484 forks source link

怎么把星期日放到最前面 #71

Closed Alex861 closed 6 years ago

Alex861 commented 7 years ago

请问作者,怎么把星期日放到最前面

drowtram commented 7 years ago
/**
     * 初始化日历控件
     */
    private void initCalendarView() {
        initCalendarSelectListener();
        CustomDayView customDayView = new CustomDayView(getApplicationContext(),R.layout.item_calendar_layout);
        CalendarViewAdapter.weekArrayType = 1;//周排列方式 1:代表周日显示为本周的第一天 默认为0 周一为第一天
        calendarAdapter = new CalendarViewAdapter(getApplicationContext(),onSelectDateListener, CalendarAttr.CalendayType.MONTH,customDayView);
        initMarkData();
        initMonthPager();
    }

我使用的可以参考下