mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
update the events in yearly view on resume
This commit is contained in:
@@ -28,7 +28,6 @@ class YearFragment : Fragment(), YearlyCalendar {
|
|||||||
setupMonths()
|
setupMonths()
|
||||||
|
|
||||||
mCalendar = YearlyCalendarImpl(this, context)
|
mCalendar = YearlyCalendarImpl(this, context)
|
||||||
mCalendar.getEvents(mYear)
|
|
||||||
|
|
||||||
return mView
|
return mView
|
||||||
}
|
}
|
||||||
@@ -40,6 +39,8 @@ class YearFragment : Fragment(), YearlyCalendar {
|
|||||||
mSundayFirst = sundayFirst
|
mSundayFirst = sundayFirst
|
||||||
setupMonths()
|
setupMonths()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mCalendar.getEvents(mYear)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun setupMonths() {
|
fun setupMonths() {
|
||||||
|
Reference in New Issue
Block a user