[DEPRECATED] An Android project providing easy navigation between a calendar and an agenda. This library replicates the basic features from the Sunrise Calendar (now Outlook) app, coupled with some small design touch from the Google Calendar app.
1.23k
stars
337
forks
source link
null object reference when i'm using Fragment, please help #118
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.tibolte.agendacalendarview.agenda.AgendaAdapter.updateEvents(java.util.List)' on a null object reference
at com.github.tibolte.agendacalendarview.agenda.AgendaView.lambda$onFinishInflate$8(AgendaView.java:58)
at com.github.tibolte.agendacalendarview.agenda.AgendaView.access$lambda$0(AgendaView.java)
at com.github.tibolte.agendacalendarview.agenda.AgendaView$$Lambda$1.call(Unknown Source)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.tibolte.agendacalendarview.agenda.AgendaAdapter.updateEvents(java.util.List)' on a null object reference at com.github.tibolte.agendacalendarview.agenda.AgendaView.lambda$onFinishInflate$8(AgendaView.java:58) at com.github.tibolte.agendacalendarview.agenda.AgendaView.access$lambda$0(AgendaView.java) at com.github.tibolte.agendacalendarview.agenda.AgendaView$$Lambda$1.call(Unknown Source)
My code crashes here
# agendaCalendarView.init(eventList, startTime3, startTime3, Locale.getDefault(), HomeFragment.this);