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

More ListView iOS 10 fun, not resizing so not properly scrolling when item is added

$
0
0

Trying out the latest 2.3.3.152-pre2, we've got a listview where we tried to do it right meaning don't put in a scrollview, put your page element in the header and footer and then use the viewcell for your recurring items. In our case we have a custom data template, and in the footer section we've got a entry box and a button that when you click it adds the item to the observable collection that is the listview's datasource.

This has worked fine until iOS10, now when the collection updates with a new item it is added, the rest of the listview isn't resized. So you can't scroll to the new content, and in our case you can't get to the bottom at the bottom to close that particular page. Trying to workaround by forcing a resize is getting us nowhere, it seems ChildAdded never fires, DescendantAdded never fires, ItemAppearing doesn't either when a new item is added to the collection, despite the fact that the item does show up.

Anyone else dynamically adding items to a listview, finding that it isn't resizing properly and therefore not scrolling properly anymore?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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