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…
Reference in New Issue