Android custom renderer not finding item source

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    1 posts
    Member since:
    Aug 2016

    Posted 16 Aug Link to this post

    I have a custom renderer for drawing a candlestick chart in Xamarin Forms.

    I have this in the android side;

    if (series.ItemsSource != null)
                            {
                                androidSeries.Data = new Java.Util.LinkedList(series.ItemsSource.OfType<object>().ToArray());
                            }

     

    and the ItemsSource always shows as having a null value even though it is populated with 21 values.

     

    any ideas on how to fix this ?

  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 19 Aug Link to this post

    Hi Andrew,

    Could you please share with us the exact implementation of the custom renderer? This will allow us to investigate the possible reasons behind this behavior.

    Regards,
    Pavel R. Pavlov
    Telerik by Progress
    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. DevCraft banner
Back to Top