mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
update the events in yearly view on resume
This commit is contained in:
parent
67214282fe
commit
1e3fbc81dd
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user