Android-Week-View icon indicating copy to clipboard operation
Android-Week-View copied to clipboard

How make make RectF moveable or drag

Open kingnightdrifter opened this issue 4 years ago • 3 comments

Hi, Rest of your Library is fantastic but I am stuck in one issue, Actually I want to make created event drag and drop. For this I have worked around 7-8 hours but failed to find a solution can you please tell me how to make RectF movable which is coming in onEventLongPress listener.

Any suggestion will be appreciated, thanks in advance.

kingnightdrifter avatar Sep 05 '19 08:09 kingnightdrifter

Hi did you find any solution for this? Please help me if you found any. Thanks

vajjasivateja avatar Dec 09 '20 01:12 vajjasivateja

Hi did you find any solution for this? Please help me if you found any. Thanks

really not

ahmednabeel1991 avatar Dec 09 '20 03:12 ahmednabeel1991

I think the solution is to not use RectF, someone before said adding Views that are exactly on top of the rectangles. I think this solution will impact performance. My solution: https://github.com/Kiesco08/draggable-calendar-event has a draggable calendar, but it cannot create new events, and scroll horizontally. So, basically, I am combining the codes of draggable-calendar-event and Android-week-view together into a self-made calendar.

desmondCTNG avatar Oct 08 '21 07:10 desmondCTNG