update the events in yearly view on resume

This commit is contained in:
tibbi 2016-10-22 22:11:41 +02:00
parent 67214282fe
commit 1e3fbc81dd
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,6 @@ class YearFragment : Fragment(), YearlyCalendar {
setupMonths()
mCalendar = YearlyCalendarImpl(this, context)
mCalendar.getEvents(mYear)
return mView
}
@ -40,6 +39,8 @@ class YearFragment : Fragment(), YearlyCalendar {
mSundayFirst = sundayFirst
setupMonths()
}
mCalendar.getEvents(mYear)
}
fun setupMonths() {