What is the difference between the old ListView and new CollectionView in Xamarin 4?

I don’t understand what is different in Xamarin Form by new version 4.0 between old ListView and new CollectionView. Why is better to use CollectionView?

I se help in microsoft docs, but don’t se anything better.

public CollectionView ();

Answer

The CollectionView is a flexible and performant view for presenting lists of data using different layout specifications.

BUT
The ListView is an ItemsView that displays a collection of data as a vertical list.

Conclusion: if you want to display things vertically use ListView, if you want do display things with your own style use CollectionView

Leave a Reply

Your email address will not be published. Required fields are marked *