We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for (int i = 0; i < 14; i++) { DateInfo dateInfo = new DateInfo(); String date = DAY_UI_MONTH_DAY_FORMAT.format(calendar.getTime()); String week = WEEK_FORMAT.format(calendar.getTime()); dateInfo.setDate(date); dateInfo.setWeek(week); dateInfoList.add(dateInfo); calendar.add(Calendar.DAY_OF_MONTH, 1); }
你这个代码生成的数据使用14列的但是实际只显示了13列
The text was updated successfully, but these errors were encountered:
在你的ScrollablePanelAdapter中这里错误 @OverRide public int getColumnCount() { return dateInfoList.size(); } 应该改为 @OverRide public int getColumnCount() { return dateInfoList.size() + 1; } 不然列会显示少一列
Sorry, something went wrong.
No branches or pull requests
for (int i = 0; i < 14; i++) {
DateInfo dateInfo = new DateInfo();
String date = DAY_UI_MONTH_DAY_FORMAT.format(calendar.getTime());
String week = WEEK_FORMAT.format(calendar.getTime());
dateInfo.setDate(date);
dateInfo.setWeek(week);
dateInfoList.add(dateInfo);
calendar.add(Calendar.DAY_OF_MONTH, 1);
}
你这个代码生成的数据使用14列的但是实际只显示了13列
The text was updated successfully, but these errors were encountered: