Hello,
I have ListView which has been put inside the ScrollViewer. ListView renders with fixed height irrespective of number of items in ListView and as ListView is inside ScrollViewer, ListView's Scrollbar doesn't function (it doesn't even show up). So what I want is ListView height should be such that it show up all the items without any scrollbar. My searching on this issue suggests that issue is known issue without any proper fix. I tried various workaround as suggested on different posts however it creates one or another problem at runtime.
Only way to fix this problem seems to be adding up the Row heights of items dynamically upon loading of the list and set the sum of all the item's Rowheight to HeightRequest of ListView. So can anyone suggest proper way of calculating the RowHeight of each item. Pls note that I have uneven rows i.e. each item's rowheight can be different.
Looking forward to pointer/code snippets.
Thanks