Creating Device-Specific Views in .NET MAUI

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

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

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

    thank you for that! this is the first video that I found that makes clear how to achieve different target views. looking forward to view your next video!

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

    Thank you for the great content, 😜from Zimbabwe 🇿🇼

  • @cristisandu678
    @cristisandu678 ปีที่แล้ว +4

    Couldn't this result be made easier using a controlTemplate in combination with OnIdiom and OnPlatform in xaml?

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

    Late comment, but really I found what I was looking, thanks for such video

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

    Thanks a lot. This is what I was looking for

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

    deserve the subs and likes thanks for the efforts and waiting for your next video

  • @tombobadil2331
    @tombobadil2331 11 หลายเดือนก่อน +1

    Thank you very much fir this video!
    Have you made the other video defining a viewmodel as Binding Context of each view?

  • @jalemanyr
    @jalemanyr 9 หลายเดือนก่อน

    Hello, Very good tutorial, however how to implement this when using Shell as it is recommended for Maui? is this the official way? Maui is cross platform and dont have a native easier way to decide? I read the Onplatform and Idiom... but not sure if those will be deprecated soon. Any help is appreciated. Thanks

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

    Great idea👍..thank you

  • @hugovazquez5628
    @hugovazquez5628 6 หลายเดือนก่อน

    if you want to use Shell? how could you do it? incredible video!!

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

    What about Shell? How would your method work if the pages were served through Shell?

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

      I haven't tried it on Shell. I am personally not a huge fan of Shell and never use it. I think this technique will NOT work with Shell routing.

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

      @Igor Kravchenko yes, it seems right.

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

    Absolutely excellent content as always from you! Thanks again for sharing your knowledge. Is there a way to donate to you, buy you a coffee, or something. I find a lot of your content extremely useful. Cheers and happy coding chief!!

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

      You like the content, that’s more than enough for me. Thank you for your kind words.

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

      @@naweedakram It's my pleasure. i actually just built the Idiom logic based on using this tutorial, but stored a lot of the DeviceInfo available and DisplayInfo into a Property Class which i can now call and get the Exact Idiom and other properties so i know how to handle them, a little more granular but it's great. Thanks again

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

    .net maui Xaml C# projects ke aj kl buhat demand ha ap us pr ik pura course kry

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

    Thanks for the video. In that regard, what is the use of platform folder? can we achieve this functionality by utilizing platform folder ?

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

      I'm new to maui, but I think the platform folder is for something that he wants only use on one platform, for example using google maps on Android and waze on Ios

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

      In this case it is maybe better to use OnIdiom rather than OnPlatform but OnPlatform is good for the demo

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

    TH-cam removed my question. It was about auto wiring the view model. Which video (if already done) can this be found. I have some possible sample code already from the CommunityToolkit. BTW, nice job. I don't know if this is the best way but it is very interesting approach for the project I am working on.

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

      #BEYOND-MONKEYS: Building Real-world .Net MAUI App (TH-cam Clone)
      th-cam.com/play/PLPLcAzuCoR9-MtDrsgXfAoqICuTdA6JPa.html

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

    .net maui Xaml C# projects pr ap vedeo bnay

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

    Thanks Naweed for your video tutorial.
    What about UI design? a single one for any device "Responsive design"

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

      I always found responsive UI to be challenging, hence I came up with this concept. This is more manageable, at least for me.

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

    I do something similar, but I have content views instead of pages for my different device needs.

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

      Yes, that works. But unless you are lazy loading the content views, performance impact will be there.

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

    .net maui Xaml C# projects youtube pr is ke vedeo buhat km ha

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

    .net maui Xaml C# projects pr bhi please is pr vedeo bnay

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

    I'm not recommending this way
    android these day have dynamic width like the galaxy fold or the surface duo 2
    to make the best responsive design we have rely on width change and visual state