Xamarin.Forms ListView - Everything you need to know (& .NET MAUI)

preview_player
Показать описание
Today we venture into displaying data in our application with the Xamarin.Forms ListView! This wonderful control has so many capabilities including displaying lists of data, grouped data, header, footers, context actions, and even pull-to-refresh, and I cover it all!

Time Codes:
00:00 - What and Why of the ListView
02:45 - ListView ViewModel with ObservableRangeCollection and AsyncCommand
04:30 - Displaying data in a ListView
06:40 - Built-in Cells & Custom Cells with the ItemTemplate
16:30 - ListView Separator
17:10 - Headers & Footers
20:30 - Context Actions
22:20 - Grouped Items
25:10 - Pull-to-Refresh
26:20 - Cell Optimization - CachingStrategy
27:00 - ListView events - tapped and item selected
34:45 - Wrap-up

Links:

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:

My Setup:

#XamarinForms #Data #ListView
Рекомендации по теме
Комментарии
Автор

I was waiting for the moment when code suddenly starts appearing or disappearing between episodes and when pasting instead of typing the code begins, just to make it super easy to follow for us noobs and here we are. I am not disappointed. Thanks!

behi
Автор

Great video!
If you are having trouble with an error along the lines: "Property not found" around ~ 8:00 you have to add another namespace in your <ContentPage>

and tell your <DataTemplate> which DataType you want it to use like this
<DataTemplate x:DataType="model:Coffee">

michaelfelleisen
Автор

loved it....Thanks a lot for your endless effort to help countless developers to build beautiful applications!

issacproton
Автор

Coming from WPF and wanting to learn some Xamarin for fun... this series is killer. I didn't realise the XAML was basically the same. Having used listviews before too, even though it seems you just skimmed the surface, I learned a lot!

Hope this channel blows up... it deserves it.

typhoonf
Автор

you are an amazing presenter, and I'm wondering why this series does not have millions of views!

abdulazizalzayed
Автор

I start to learn Xamarin (coming from a GameDev C# background) and immediately got in love with your content.
Just bing watch this entire 101 playlist and subbed!
Thank you so much James!

dalton-lima
Автор

No Words Man Specially the way you deliver is awesome. I am really thankful for all what you are doing

MuhammadSibtainArain
Автор

Thank you so much James. I was truggling with xamarin and now I found super duper awesome video tutorial... thank you so much!!!!

wonlee
Автор

This is one of the best tutorials i've seen about xamarin, thanks so much!

josephlx
Автор

That was a very amazing ListView presentation. Perhaps, indeed, the MOST amazing =). Thanks!

belmiris
Автор

Love your videos! Thank you for all that you are doing. You're Amazing!

jhdabomb
Автор

One of the best Tutorials I've ever seen! :-)

realcolormusic
Автор

And I want to thank you for the It is really cool.

realcolormusic
Автор

Thank you so much for such a great explanation!

chesterbennington
Автор

Just awesome! Thanks for the great explanation!

japibirra
Автор

thanks for the revision, love it thanks

JasonPurkiss
Автор

Thanks a lot your video is helpful especially for a new Xamarin Developers to build application

mahkhaikeat
Автор

Cool! Thank you soooo much for such an interesting tutorial!

AlexK-xntq
Автор

Awesome! Super didactic ! U definitely rock James! Tonx!🤜🤛

edsonsaito
Автор

I've really been enjoying this series and have been dutifully following along. Somehow, I got a bit sideways in this video - I'm not sure if I missed it (either in the notes above - or accidentally skipped a video), but there it seemed like there was a jump in code progression between the last video about MVVM Helpers and this one. I will probably need to go back and restart, but I was curious if there was a resource (or resources) that I missed. I'm excited to learn this and hope to role out Xamarin in one of my HS Comp Sci classes - this has been really helpful so far!

jackagupton