[iOS] ListView's elements render (+ OxyPlot)

leeyoleeyo USMember ✭✭

Hi all,

It's been a few days that I'm having troubles with ListViews rendering on iOS. To be more precise, the ListView contains an OxyPlot chart on each row.

Problem occuring : The first three charts render as they should, but the next ones are not rendering and re-use the three first instead (weird, I know).

Tip for a solution : If I reduce the charts size and rows height (so every elements appear without scrolling) it renders them all as it should. So the problem sounds like "iOS fails at rendering ListView's unshown elements".

I've been trying a lot of different stuff, e.g. changing the structure inside the ViewCell (Grid vs StackLayout vs AbsoluteLayout), using HasUnevenRows="true" with RowHeight="-1" to force dynamic height calculation, ... I just don't know what I still can do but bash my head on a wall.

Of course, there is no problem with the model part as it works fine on UWP, and even on iOS when reducing the row's height.

I hope someone can help, Google didn't.

Thanks.

Posts

  • leeyoleeyo USMember ✭✭

    So no one ever had instances problems inside ListViews with iOS ? :confused:

  • plopplopplopplop USMember

    Maybe that could help you :
    stackoverflow.com/questions/44173022/how-to-use-a-oxyplot-bar-chart-inside-a-listview-control-for-xamarin-forms-ios

Sign In or Register to comment.