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

ListView dynamic cell height, Grid in cell not measuring correctly

$
0
0

I'm trying to get dynamically sized row heights working on iOS but running into some problems. So far I've tried making a custom listview datasource as well as a subclass of ViewCell that gets the size request of it's view when obtaining the view so that I can set the cell height.

The ViewCell subclass seems to be working better than the custom datasource, except that grids don't seem to be measuring correctly and I'm getting shorter rows than I should be.

I know this has been asked a bunch before but everything I find seems to end with someone from Xamarin saying it's been fixed and other customers saying that it's still broken.

As I spent the next however long trying to figure out how to make it work I figure it would be a good idea to ask - what are people using to dynamically size their rows? I'd very much prefer not to have to write custom layout logic.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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