Library AgendaCalendarView

1

I am using the library already mentioned, what happens is that I want to bring the id of the event that is selected, for that it has its procedure

@Override
    public void onEventSelected(CalendarEvent calendarEvent) {
}

That returns "title" and "date", but I can not return the id of the event, and how to assign it.

    
asked by jeanpier echevarria 04.05.2016 в 17:19
source

1 answer

0

You can get it in this way within method onEventSelected() :

@Override
    public void onEventSelected(CalendarEvent calendarEvent) {
     Log.d("MainActivity", "id del evento: " + calendarEvent.getId());
    }

In fact within that same method you can get how you comment, the title and the day.

    
answered by 04.05.2016 / 22:22
source