You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am trying to use this library with my project on fragment but I get a nullpointer error on mAgendaCalendarView.init() which is not the case when I try this on an activity. Am I doing something wrong?
Here is my code
@chilldelta When I see your code try: ButterKnife.bind(view, this); (If you do have an AgendaCalendarView element in planner_fragment_ui), and I would also get rid of mAgendaCalendarView = new AgendaCalendarView(getContext());
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)
Somebody to help me? i'm using it on Fragment, everything is ok when i use Activity.
Am trying to use this library with my project on fragment but I get a nullpointer error on mAgendaCalendarView.init() which is not the case when I try this on an activity. Am I doing something wrong?
Here is my code
The text was updated successfully, but these errors were encountered: