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

DayView crash

3 Answers 14 Views
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 2
Tim asked on 29 May 2017, 03:01 PM

I have to have this in my iOS renderer to keep the app from crashing when Prism tries to destroy the page with the calendar.

 

  // Hack: To keep app from crashing
        public override Telerik.XamarinForms.Input.CalendarCellStyle GetStyleForCell(Telerik.XamarinForms.Input.CalendarCell xfCell)
        {
            try
            {
                return base.GetStyleForCell(xfCell);
            }
            catch
            {
                return null; 
            }
        }

3 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 01 Jun 2017, 10:38 AM
Hi Tim,

Thank you for providing the workaround you are using. Does the application crash with a specific exception?Would it be possible to provide a stack trace or a sample application that replicates the issue so we can have a more detailed look? 

Regards,
Stefan Nenchev
Progress 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
0
Tim
Top achievements
Rank 2
answered on 01 Jun 2017, 05:50 PM

Hi Stefan,

I'll see what I can do when I get back to the project. (I'm currently on another project for some time)

I remember it to be a NRE when It tried to access a (default?) style during Prism page disposal. 

0
Stefan Nenchev
Telerik team
answered on 06 Jun 2017, 08:12 AM
Hello Tim,

It will be great if you can provide a sample with the scenario in which the exception is thrown so we can investigate it from our end. I guess since there is a simple workaround this task would not be with high priority at your end, however, if you have the time to provide such project or instructions how to observe the behavior - it will be highly appreciated.

Have a great rest of the week.

Regards,
Stefan Nenchev
Progress 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
Asked by
Tim
Top achievements
Rank 2
Answers by
Stefan Nenchev
Telerik team
Tim
Top achievements
Rank 2
Share this question
or