Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>