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

Dynamic ViewCell Height in ListView on iOS

$
0
0

Hi,

I'm trying to change the Height of a Cell in a ListView when it gets tapped by the user. I get this behavior by setting the Cell.Height property inside an overridden OnTapped method.

On Android this works perfectly, the list adjust to the new height of the cell.
On iOS the cell is resized but the layout of the list does not adjust to the new height of the cell. The cell appear over the following cells.

image

How can I force the ListView to recalculate its layout on iOS ?

Note: I use Xamarin.Forms 1.2.3.6267.

Thanks,


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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