DayView crash

4 posts, 0 answers
  1. Tim
    Tim avatar
    58 posts
    Member since:
    Sep 2002

    Posted 29 May 2017 Link to this post

    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; 
                }
            }

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 01 Jun 2017 Link to this post

    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
  3. Tim
    Tim avatar
    58 posts
    Member since:
    Sep 2002

    Posted 01 Jun 2017 in reply to Stefan Nenchev Link to this post

    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. 

  4. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 06 Jun 2017 Link to this post

    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
Back to Top