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

Dynamic ListView row height not working on iOS in v1.4?

$
0
0

According to the Xamarin ListView documentation, if I set HasUnevenRows, all will be well with dynamic row heights.

In reality, it works fine on Android, but does not work at all on iOS.

In my scenario, selecting a ListView item causes additional items in the row to become visible (via data binding), which in turn should change the cell height (since the items are in a StackLayout with StackOrientation.Vertical).

However, on iOS, the row height doesn't change when the cell is selected and the items in the cell are set to visible.

I suspect that different row heights might work on iOS as long as they don't change once added to the list, but that isn't very dynamic, is it?

Any known workarounds?

In an ideal world, the row height would animate as it changes, but I'll settle for just getting the row height to change at all for now.

Thanks!


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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