.NET MAUI - All you need to know about CollectionView (according to me)

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ส.ค. 2022
  • In this video, Daniel Hindrikes talks about .NET MAUI and CollectionView.
    00:58 Add data to a CollectionView
    05:45 Change the layout
    07:15 Empty CollectionView
    08:23 Use multiple templates
    13:01 Incremental load of data
    16:30 Headers and footers
    18:04 Group a CollectionView
    If you like my videos, please subscribe to my channel.
    Follow Daniel on Twitter: / hindrikes
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 17

  • @UnwrittenJames
    @UnwrittenJames ปีที่แล้ว

    Thank you so much! I've been searching all over the internet on how to create groups in collectionView from data that I pull from a server and you just showed me how to do it in 5 minutes. You Sir are a legend! 😁

  • @MultiLeechCZ
    @MultiLeechCZ ปีที่แล้ว +1

    Can GridItemsLayout be also dynamic, on the base of content ? Like each card would has same width and height but columns would be dynamic. Similar like game service or video service like netflix ? Thx if so can you please provide example how to do this ? iguess calculated on the base of the sceen size somehow..

  • @--Eric--
    @--Eric-- ปีที่แล้ว

    Hi,
    Just found your channel and it was a good content in your video but I'm searching for a way to click/tap on an entry to show expanded info underneath(*) (and when clicked that info it will be selected for further treatment).
    In WPF I have a DataGrid that do just that but now I want to slowly change to MAUI. I assume it's possible but haven't found a way yet.
    (*) not on a new page
    Keep on with your series,
    Heja Sverige...

  • @zqzhang-ni8nr
    @zqzhang-ni8nr หลายเดือนก่อน

    If I have lots of columns and need to have a horizontal scrolling bar, how to handle it

  • @rickshadle3753
    @rickshadle3753 ปีที่แล้ว

    Do you provide access to your sample code? If so, where can be obtained? Thanks, Rick Shadle

    • @DanielHindrikes
      @DanielHindrikes  ปีที่แล้ว

      Unfortunately not. I modify the same code through the video. But I will think of it in the future to upload the code.

    • @rickshadle3753
      @rickshadle3753 ปีที่แล้ว

      @@DanielHindrikes thank you for getting back to me👍

  • @geraldmyroup3818
    @geraldmyroup3818 ปีที่แล้ว

    Is this learning project available for download?

  • @mochrDK
    @mochrDK 2 ปีที่แล้ว +1

    I think a key thing is missing here.. Where do you invoke LoadData()?

    • @DanielHindrikes
      @DanielHindrikes  2 ปีที่แล้ว

      OnBindingContextChanged in the code behind of the view.

    • @mochrDK
      @mochrDK 2 ปีที่แล้ว

      @@DanielHindrikes Do you have an example of this? thanks for the video btw

    • @DanielHindrikes
      @DanielHindrikes  2 ปีที่แล้ว +1

      Check this out: gist.github.com/dhindrik/05406ea40b4bb11786986736a2057ddd

    • @mochrDK
      @mochrDK ปีที่แล้ว

      @@DanielHindrikes Thanks a lot! I can see its also possible to async the overwrite OnBindingContextChanged.. not sure what is the best way to load data async

  • @CoderboyPB
    @CoderboyPB ปีที่แล้ว

    Should a Sweden Template not better be yellow? ;-)

  • @zqzhang-ni8nr
    @zqzhang-ni8nr หลายเดือนก่อน

    If I have lots of columns and need to have a horizontal scrolling bar, how to handle it