JTAppleCalendar icon indicating copy to clipboard operation
JTAppleCalendar copied to clipboard

willScrollToDateSegmentWith should be called in ScrollToSegment function

Open patchthecode opened this issue 6 years ago • 5 comments

As title says. Linked to this issue https://github.com/patchthecode/JTAppleCalendar/issues/1061#issuecomment-499422444

patchthecode avatar Jun 19 '19 16:06 patchthecode

Hey, guys! Any update on this? Looks like willScrollToDateSegmentWith is still not called when using ScrollToSegment...

roteirod avatar May 06 '20 12:05 roteirod

@patchthecode any updates on this issue? I I have the same problem so I am wondering if the issue was resolved back then or not yet 😢

MussaCharles avatar Apr 19 '21 07:04 MussaCharles

I do not have the time to do this right now. But if anyone can open a pull request i'd be grateful

patchthecode avatar Apr 19 '21 10:04 patchthecode

@MussaCharles you can use the completionHander of scrollToSegment (without modify the current lib) and do what you need here with calendarView.visibleDates()

shadowsheep1 avatar Nov 17 '21 13:11 shadowsheep1

@MussaCharles you can use the completionHander of scrollToSegment (without modify the current lib) and do what you need here with calendarView.visibleDates()

@shadowsheep1 Aww, thanks I will have a look at it.

MussaCharles avatar Nov 21 '21 02:11 MussaCharles