Hi. I really like and appreciate Xamarin.Forms but I wanted to detail my experience with trying to use a new component, along with a plea for ensuring I can release my service.
My use case is simple - I want to display chat messages in some kind of list form, where individual chat messages can be deleted. So far I've been using a bindable StackLayout but wanted to replace it with a proper virtualising list as I'm nearing release.
CollectionView is no longer marked as experimental, but this is the amount of bugs I encountered for this simple use case:
https://github.com/xamarin/Xamarin.Forms/issues/12555 (a total blocker)
https://github.com/xamarin/Xamarin.Forms/issues/12601 (blocker, with a partial workaround found but for iOS only)
https://github.com/xamarin/Xamarin.Forms/issues/12675 (not absolutely a blocker but completely screws up the layout)
These I found workarounds for:
https://github.com/xamarin/Xamarin.Forms/issues/12576 (contents getting messed up layouts after modifying elements)
https://github.com/xamarin/Xamarin.Forms/issues/12554 (elements requiring a scrolling action for the contents to align)
https://github.com/xamarin/Xamarin.Forms/issues/12622 (refresh view issue when all elements are not of equal height)
https://github.com/xamarin/Xamarin.Forms/issues/12697 (dynamically assigned element height issue, with workaround for uniform elements)
https://github.com/xamarin/Xamarin.Forms/issues/12553 (this just breaks hot reload so is not a blocker)
SwipeView is still experimental but these are blockers for me:
https://github.com/xamarin/Xamarin.Forms/issues/12518 (four issues in this report that are closely related and totally blockers)
https://github.com/xamarin/Xamarin.Forms/issues/12614 (annoying but can be designed around)
I thought I'd use a ListView instead (which has been deprecated but largely works), but ran into:
https://github.com/xamarin/Xamarin.Forms/issues/12555 (this is the same blocker issue as for the collection view, ie that adding items when items are of different heights things jump around once. I found an insane workaround for it but it's not a good workaround)
https://github.com/xamarin/Xamarin.Forms/issues/12598 (may be caused by hot reload so not necessarily a blocker)
https://github.com/xamarin/Xamarin.Forms/issues/12615 (annoying but not absolutely fatal)
The reason I even thought about using ListView is that the memory leaks seem to finally have been fixed with PR https://github.com/xamarin/Xamarin.Forms/pull/12535, but unfortunately it's not in a build yet.
So all in all -- I am in a total pinch here until at least https://github.com/xamarin/Xamarin.Forms/issues/12555 and https://github.com/xamarin/Xamarin.Forms/issues/12518 are fixed, and in a bad place until https://github.com/xamarin/Xamarin.Forms/issues/12601 is fixed.
I find it quite disheartening having to spend this much time testing every single component just to find several blockers in them as well, in my very-much-not-an-advanced-use-case. Something that should have taken a very limited amount of time turned into a long time of investigations and me making documents of alternative paths to take depending on what gets fixed in what time frame.
I think most CollectionView issues have the root cause https://github.com/xamarin/Xamarin.Forms/issues/11511 which is caused by https://github.com/xamarin/Xamarin.Forms/issues/10842, so fixing that one thing only may make it a usable component. Just fixing two of the issues in (https://github.com/xamarin/Xamarin.Forms/issues/12518), that SwipeView constantly opens accidentally as it's too sensitive, and then proceeds to lock the UI completely, would make it usable.
But as it stands right now I am completely at the mercy of these getting fixed, and the MeasureAllItems issue in CollectionView has been open for half a year. So I am begging you to fix it to make CollectionView usable, or provide some guidance on how to get to release if it's not fixed (this post details what I've tried so far). I would also want to trust the components a bit more as the list of issues is quite large for a very cursory look at technology which is no longer marked as experimental.
Thank you so much for creating this technology and supporting it! I just want to be able to ship a product made with this. Because of Xamarin.Forms I settled for a complete Microsoft ecosystem, including Microsoft technology and Azure hosting for the backend and Microsoft productivity suites. So if you need messaging for the big wigs at the mothership regarding resources, Xamarin.Forms provides an entry to other Microsoft services that generate revenue.
I agree with you, threre's so much issues being filled than PR to fix them.
They desesperatly need to hire more devs to help the team
2.6K issues open and growing...
@davidortinau can you help us ?
@migueldeicaza is still working with Xamarin Projects ?
I agree, Xamarin is a brilliant platform and I use it quite heavily for my companies mobile apps but some bugs have been open for an extended amount of time. It also seems just browsing the github projects it can take months from requesting reviews to actually getting them so they must need more devs.
Most helpful comment
I agree with you, threre's so much issues being filled than PR to fix them.
They desesperatly need to hire more devs to help the team
2.6K issues open and growing...
@davidortinau can you help us ?
@migueldeicaza is still working with Xamarin Projects ?