@Override public void handleMessage(Message msg) { super.handleMessage(msg); Calendar dateCalendar = calendars.get(msg.what); if (onCalendarListener != null) { onCalendarListener.onCalendarSelected(dateCalendar); } calendarsAdapter.setClickIndex(msg.what); calendarsAdapter.notifyDataSetChanged(); }
public void onCalendarChanged(DateTime date) { if (mCalendarListener != null) { mCalendarListener.onCalendarChanged(date); } }