This is a migrated thread and some comments may be shown as answers.

Loading time for Custom cells in calendar

1 Answer 48 Views
Calendar - Xamarin.iOS
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 05 Oct 2015, 12:50 PM

Hi,

 I'm using a custom cell for the calendar.  It is working fine, the only problem i'm running into is that the calendar originally loads with the old cells appearence, and it is not until I call Calendar.Update() that I can see my cells load in.  I haven't been able to figure a way to have it use the custom cells on its first load, so there is always a brief second or two where the calendar appears to be the old one before swapping to using my custom cells.

 

The code that sets my custom cells is:

 

Public override TkCalendarCell VIewForCellOfKind(.....){
 
     if(cellType == TKCalenarCell.Day){
          return new CustomCell();
     }
}
 
 
public override void UpdateVisualsForCell(...){
    //Do all my custom cell formatting.
 
}

 

 

 

Is there any way to set up the calendar to use my custom cell on its first render?

Thanks

1 Answer, 1 is accepted

Sort by
0
Adrian
Telerik team
answered on 06 Oct 2015, 06:54 AM
Hi Kyle,

Thank you for contacting us.
I wasn't able to reproduce the described issue neither on simulator nor on device. Could you please send me a sample project where the issue appears, so I can investigate it further?

I am looking forward to your reply.

Regards,
Adrian
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Calendar - Xamarin.iOS
Asked by
Kyle
Top achievements
Rank 1
Answers by
Adrian
Telerik team
Share this question
or