alamkanak / Android-Week-View

Android Week View is an android library to display calendars (week view or day view) within the app. It supports custom styling.
Apache License 2.0
3.42k stars 1.23k forks source link

Click on empty view doesn't return the correct hour and minute #338

Open mafdy92 opened 8 years ago

mafdy92 commented 8 years ago

problem in calculating the hour and minute from the y coordinate

mafdy92 commented 8 years ago

ok correction there is nothing wrong in the calculation the problem is when invalidate is called after setting the event's rectf new coordinates it seems the rectf's y coordinate is not changed

i am not sure where could be the problem

entropitor commented 8 years ago

What exactly is the problem?

mafdy92 commented 8 years ago

i am trying to use the empty view listener to change the date and time of a selected event in the calendar

clicking on the empty view provides a Calendar object with the correct date and time my problem is that the event's day is changed but not the time i think i am not putting the rectf on the right y coordinate

mafdy92 commented 8 years ago

either that or their is a problem in redrawing the calendar

CharlS4 commented 6 years ago

How do you call in the method to get the coordinates? I have the time displaying the current time, not the time slot where I click