You asked for it, so I am here to break down all of the key differences between the Xamarin.Forms ListView and the brand new CollectionView. Which one should you use and why? Which features are exclusive to each control and which can be combined with new awesome things built directly into Xamarin.Forms.
Full Xamarin Beginner's Playlist - • Xamarin & Xamarin.Form...
👕 Buy some swag! - jamesmontemagno.myspreadshop....
Time codes:
00:00 - Introduction
02:15 - ListView and CollectionView overview
05:15 - RefreshView - Pull-to-Refresh on CollectionView
06:00 - CollectionView Headers, Footers, & Grouping
07:20 - CollectionView SelectionMode & EmptyView
08:30 - CollectionView ItemTemplate & SwipeView
10:30 - CollectionView Load on Demand/Lazy Loading data
12:00 - ItemsLayout - Horizontal, Vertical, Grids
16:20 - Even more CollectionView & Wrap-up
Links:
* Source Code: github.com/jamesmontemagno/My...
* MVVM Helpers: github.com/jamesmontemagno/mv...
* ListView Docs: docs.microsoft.com/xamarin/xa...
* CollectionView Docs: docs.microsoft.com/xamarin/xa...
* RefreshView Docs: docs.microsoft.com/xamarin/xa...
* SwipeView: docs.microsoft.com/xamarin/xa...
* Xamarin Community Toolkit: docs.microsoft.com/xamarin/co...
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
Follow:
👨💻 GitHub: github.com/jamesmontemagno
🦜 Twitter: / jamesmontemagno
🔴 Twitch: / jamesmontemagno
📄 Website: www.montemagno.com
📰 Newsletter: newsletter.montemagno.com/
My Setup:
* Blue Spark Microphone - amzn.to/3qgtYkq
* Blue Pop Filter - amzn.to/3jEWM3r
* Rode Microphone Arm - amzn.to/2Z68AlE
* Sony MDR7306 Headphones - amzn.to/372jxta
* Stream Deck - amzn.to/373Uk1n
* Elgato Cam Link - amzn.to/3a9eGbh
* GoPro Hero - amzn.to/374lm90
* MX Master 2S Mouse - amzn.to/3d7J2gj
* Tecware Phantom Keyboard - amzn.to/3aUP4y9
#CollectionView #ListView #XamarinForms
Негізгі бет Ғылым және технология Xamarin.Forms ListView vs. CollectionView - Which to use and why!
Пікірлер: 111