Reusable Controls and Data Template Selectors in Xamarin.Forms & .NET MAUI

แชร์
ฝัง

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

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

    Where can I find the playlist for the coffe app , he said series, where is that?

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

    Great video James! Thanks a lot

  • @anandshindey
    @anandshindey 3 ปีที่แล้ว

    Very helpful video. Thanks James.

  • @phoenixwyllow
    @phoenixwyllow 3 ปีที่แล้ว +5

    Another great video, James!
    I do have a question, maybe I'm missing something obvious: what about a reusable control with a data template? eg. refactoring the CollectionView with its styles, layout and commands to be reusable, but providing a specific Data Template implementation on each Page.
    I know how to reuse Styles (thank you again), just I don't want to rewrite RefreshView...CollectionView...CollectionView.EmptyView when only the Data Binding (and View Model) has changed. Either my brain is being obtuse and I'm not understanding Control Templates or my google-fu is lacking.

    • @TitoDino-f9s
      @TitoDino-f9s ปีที่แล้ว

      Have you figured something out, I am trying to do something similar to this - render a new template based on the output of a single value

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

    Thank you! this helped me out alot!

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

    How can you process the model inside the container view ? If you call it from xaml ?

  • @Limonİs-t8n
    @Limonİs-t8n ปีที่แล้ว

    @JamesMontemagno
    Hello ty for videos.
    i need httpclient operations in my control. where should i make it ?
    Should i create a controlviewmodel and bind it to control or something else ?

  • @jeffm3865
    @jeffm3865 3 ปีที่แล้ว

    Thanks. I needed this one!

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

    Where does that 'toolkit' namespace come from? (xct)

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

    Hi Man! Great stuff as always! Thanks a lot. Please do something on the Picker control using MVVM and calling a function/form on Item Selection.

  • @yobofunk5689
    @yobofunk5689 3 ปีที่แล้ว

    Isn't there a way to not use selector if the classes in the list are different?

  • @LordErnie
    @LordErnie 3 ปีที่แล้ว +2

    A really helpfull video, worth my like and the full 5 stars if I could give em. Keep it up Mr Montemagno!

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

    Using the dynamic content of list items to select a datatemplate for a recycled list can get you into trouble. It used to be bad practice and I suspect it still is. The general advice was to have different VM types and serve up different datatemplates based on these different types.

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

      I have a problem with datatemplate selector , i so jitter

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

    cant get this to work on xamarin forms 2019

  • @Asasaslik
    @Asasaslik 3 ปีที่แล้ว

    12:25 - What is the name of the setting with the gray hint?

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

      That is IntelliCode in Visual Studio 2022!

    • @Asasaslik
      @Asasaslik 3 ปีที่แล้ว

      @@JamesMontemagno Thank you from Russia!!!
      The best man of the world

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

    6:30 - you can just remove the inheritance in the code-behind file, that will allow you to modify the root type of your xaml without caring about code-behind.

  • @Shahan85
    @Shahan85 3 ปีที่แล้ว

    Powli

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

    you have course bro

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

    4:58 - Link us, please :D

    • @brutis888
      @brutis888 3 ปีที่แล้ว

      The YT bots keep deleting any links I provide to XAML Styler or PrimoDev23's 2022 temporary build :/

    • @JamesMontemagno
      @JamesMontemagno  3 ปีที่แล้ว

      Added into the links github.com/Xavalon/XamlStyler

    • @brutis888
      @brutis888 3 ปีที่แล้ว

      @@JamesMontemagno Thanks!

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

    Thanks, it would be great if we could just use HTML & CSS because XAML is verbose...

  • @williamprogramer4168
    @williamprogramer4168 3 ปีที่แล้ว

    ⭐⭐⭐⭐⭐

  • @cristisandu678
    @cristisandu678 3 ปีที่แล้ว

    😯😯😯😯😯