Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Using ListView to display a scrollable list of images

$
0
0

HI Guys,

Using the APITron component to render pdfs into a list of images, one row per page. Using a grouped ListView to display, each group is a page, with the header as the page number.

What is puzzling me is that when I load up the list view the groups are "collapsed", but when I drag the list down and the bottom of the last item in the list touches the bottom of the page, the list "repaints" and only the last item then becomes visible. If I then scroll/drag UP, then down, all items are then visible.

I've tried "ScrollTo()" and "Layout()" to get the list to appear.

Any idea how I can make sure that the list doesn't do this? I want all rows to be visible from the start.

Demo project attached. Also, I'm running it in the simulator, there seems to be an issue with the pdf component when running on a real device (which I've contacted the developer about) - so make sure you only run this in the simulator.

Thanks for your consideration.

Cheers,
K.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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