Appgutta / AGCalendar

Calendar module for Titanium
Other
80 stars 25 forks source link

month:previous not returning data #42

Open soyoh opened 11 years ago

soyoh commented 11 years ago

Hi,

im using the callback function to execute function on callback, i'm using a remote json to fillup the calendar, so, if user is moving beetween months, i just call the api to load then into the module.

but the callback mont:next and mont:previous is not returning the current date, i'm doing anything wrong??

calendarView.addEventListener("month:previous", function(e) {
    Ti.API.info("Going back to previous month");
    Ti.API.info(e.event.date);
    Ti.API.info(e.source);
});