custom-calendar-view icon indicating copy to clipboard operation
custom-calendar-view copied to clipboard

Extract selected date,month and year to text views

Open ghost opened this issue 8 years ago • 1 comments
trafficstars

Please help!!!!

ghost avatar Nov 25 '16 09:11 ghost

A little late, but for future notice:

  1. Set up decorators like in instructions
  2. In decorate override, you have dayView which has getDate() method, which returns date.
  3. Since you cant get day month and year from date directly, you should cast date to calendar: Calendar calendar =Calendar.getInstance(); calendar.setTime(dayView.getDate());

And from there you can extract day year etc. Hope it helps someone else stuck here.

obllivion avatar Feb 26 '17 00:02 obllivion