在此示例中,Please go though the problem 在此处选择了1st-Nov-2019的记录,然后从Mpchart数据中选择了31st-Oct-2019,记录已更改,但日历月仍然相同。 我已按照此github链接进行日历实现-https://github.com/prolificinteractive/material-calendarview/
我已经尝试过以下代码
localDate =用户从mpchart中选择的特定日期的记录。
mCalenderView.setSelectedDate(localDate);
mCalenderView.invalidate();
我在setOnChartvalueSelectedListener
中编写的这段代码,我使用从Mpchart中选择的记录来查找日期
我已经在Mpchart中显示了每周的记录,因此当上个月的下个月的一周完成时,用户也可以选择上个月的记录。 我想要如果用户从Mpchart中选择上个月的记录,则在日历视图的日历月份中应将其更改为上个月。 请帮助我,我从上周开始就陷入了这个问题。