Reputation: 615
How can I use following methods with Codename one calendar.
protected void updateButtonDayDate(Button dayButton, int currentMonth, int day);
protected Button createDay();
Upvotes: 0
Views: 109
Reputation: 1907
You can create your own Class and override this method as shown in below code
class OwnCalendar extends Calendar{
@Override
protected void updateButtonDayDate(Button dayButton, int currentMonth, int day) {
// add your code
// super.updateButtonDayDate(dayButton, currentMonth, day); //To change body of generated methods, choose Tools | Templates.
}
}
Upvotes: 1