CosmoCalendar
CosmoCalendar copied to clipboard
date click event
Hi, I have a problem that is not so clear that click events can't get the full date.
@Jacky-Xu I was stuck to so I tried this:
calendarView.setSelectionManager(new BaseSelectionManager() {
@Override
public void toggleDay(@NonNull Day day) {
Toast.makeText(getContext(), day.toString(), Toast.LENGTH_SHORT).show();
}
@Override
public boolean isDaySelected(@NonNull Day day) {
return false;
}
@Override
public void clearSelections() {
}
});
and it helps. If it helps you too, let me know.
@ThadeusAjayi thanks, i try to do it. thanks for your help.
Date select animation is not reflecting after implementing above method..
It is still not reflecting, is there any solution to this ?