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

Android custom renderer not finding item source

1 Answer 40 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 16 Aug 2016, 01:49 PM

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 ?

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 19 Aug 2016, 06:09 AM
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
Tags
Chart
Asked by
Andrew
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or