Hallo,
when I overwriting getDateLabelText for a Timeline widget, the method isn't called, when the widget is created.
I think, the same problem is in a Calendar widget with only one view.
When a Calendar/Timeline widget is created, getDateLabelText is called before the my method is set in Calendar::onInit_Calendar().
You can test it with a little change of the "Simple Timeline" example:
Regards
Peter
when I overwriting getDateLabelText for a Timeline widget, the method isn't called, when the widget is created.
I think, the same problem is in a Calendar widget with only one view.
When a Calendar/Timeline widget is created, getDateLabelText is called before the my method is set in Calendar::onInit_Calendar().
You can test it with a little change of the "Simple Timeline" example:
Code:
....
Timeline calendar = new Timeline() {
@Override
public String getDateLabelText(String viewName, Date startDate, Date endDate)
{
return "xxxxxxxxxxxxx";
}
};
....Peter