johnvuko/JTCalendar

Problem of CalendarDidLoadNextPage

Opened this issue · 4 comments

Hello Jonathan;
When I send the network request the method of "calendarDidLoadNextPage" as below,the pageView slide not in the mid.If did not set the the request,slipe to the next mouth is normal.Is there something about about thread when I send the net request, it influences the pageView slide.

  • (void)calendarDidLoadNextPage:(JTCalendarManager *)calendar
    {
    NSDate * date = [calendar date];
    // send a network request for next mouth events
    [self findAttendanceRequest:date];
    }

loadnextpage
Hope I can get the feedback,thanks.

you can DispatchQueue.global().async{
sleep(1);
DispatchQueue.main.async{
//do net work request
}
}

@mingxuler your issue has been resolved ?
please tell how to resolve this type issue .

@vikrant-Ios your issue has been resolved ?
please tell how to resolve this type issue .