FreshMvvm Basic Navigation Concepts in Xamarin.Forms

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ •

  • @jfversluis
    @jfversluis  3 роки тому +3

    More navigation containers like FlyoutPage and TabbedPage can be found in the documentation: github.com/rid00z/FreshMvvm#navigation

  • @hanh.trinh.yeu.thuong
    @hanh.trinh.yeu.thuong 3 роки тому

    Gerald, you are a very humor teacher! Thank you very much for good things you did for other people like me. Yes! I am already subscribed and turn on all notifications from your channel! :P

    • @jfversluis
      @jfversluis  3 роки тому +1

      Yaaay thanks you so much for your support!

  • @joukepostma4706
    @joukepostma4706 3 роки тому

    Goedemorgen Gerald.
    Very much interested in your post. It looks like AppShell is not supported by FreshMvvm. What I am currently most interested in is getting some icons in my flyout menu. Solutions posted from others are old and obsolete. An example from you would be great!

    • @jfversluis
      @jfversluis  3 роки тому

      He hallo Jouke!
      Thanks! I think Prism might be the only one supporting Shell at the moment. Also because Shell is kind of designed to not need a separate MVVM framework :)
      Do you mean the example in the Docs doesn't work anymore? docs.microsoft.com/xamarin/xamarin-forms/app-fundamentals/shell/flyout

    • @joukepostma4706
      @joukepostma4706 3 роки тому

      @@jfversluis Correct unless I am doing something wrong. Not really a problem but I want my icons back :-)
      The example I was referring to where icons are supported in the menu using FreshMvvm:
      lpains.net/articles/2018/xamarin-forms-master-detail-lazy-loaded/
      Thanks if you can give me a hint or 2.

    • @jfversluis
      @jfversluis  3 роки тому

      @@joukepostma4706 Not sure if I understand. You are implementing this together with FreshMvvm and Shell then? Because if I just do a File > New Shell app with a FlyOut menu the icons are showing fine :)

    • @joukepostma4706
      @joukepostma4706 3 роки тому

      @@jfversluis Yes, Shell together with Freshmvvm. Strange it is working on your side.

    • @jfversluis
      @jfversluis  3 роки тому

      @@joukepostma4706 I didn't try it with FreshMvvm in there. If you can provide me with a reproduction sample on GitHub I might be able to take a look :)

  • @AldairOH
    @AldairOH 3 роки тому

    Thanks for all the content !

    • @jfversluis
      @jfversluis  3 роки тому

      ☺️ thank you for watching!

  • @checox1909
    @checox1909 3 роки тому +1

    have you used Prism? if yes, could you do a video with the difference between Prism and FreshMVVM

    • @jfversluis
      @jfversluis  3 роки тому +1

      I can't say I have! I know Dan Siegel (a maintainer) is thinking about being more active on UA-cam as well, or check out Brian Lagunas' channel, I think he has content about it as well :)

  • @liaryde
    @liaryde 3 роки тому

    Brilliant video, how does FreshMvvm fit in with the Xamarin Shell paradigm? Should you just use FreshMvvm and ignore Shell?

    • @jfversluis
      @jfversluis  3 роки тому

      Thanks Alistair! Shell was kind of designed to not need an MVVM framework. I think Prism just has support or they were working on it, but not sure what it does exactly. I would either say: choose Shell or choose FreshMvvm (or any other MVVM framework) but not both :)

  • @anandshindey
    @anandshindey 3 роки тому

    Great content. Enjoying it. Thanks.. One question is freshmvvm better than what comes out of box with xamarin?

    • @jfversluis
      @jfversluis  3 роки тому +1

      It's not necessarily better, its built on top of it so it's an addition to make your life easier and make you write less code :)

  • @abduljameel1201
    @abduljameel1201 3 роки тому

    The Recent Xamarin Forms Project template create a shell based layout. Does FreshMVVM works fine with xamarin forms shell? including navigation and pagemodel (databinding etc)?

    • @jfversluis
      @jfversluis  3 роки тому

      I don't think it supports Shell at this moment, but not entirely sure

  • @musicer89
    @musicer89 2 роки тому

    Great Video ;) I struggling with navigation in FreshMvvm. When I go from MainPage to 2nd page and from 2nd page to 3rd, I'd like to go back to 2nd page and when job is done then go back to MainPage. The problem is when I go back from 3rd to 2nd and from 2nd to MainPage. Then some strange magic happens. When I'm going back from 2nd to MainPage then 3rd page arrives. To go back I'm using "await CoreMethods.PopPageModel(null)" in my Commands. Do you know what I've missing?

  • @saroshwadia
    @saroshwadia 3 роки тому

    Great video :-) Please create one using FreshMvvm showing how to pass and receive data between View/Page Models would be the icing on the cake. Thx

    • @jfversluis
      @jfversluis  3 роки тому +1

      Guess what I have planned! That one is coming soon 😄

  • @josedonizeteoliveirajunior1744
    @josedonizeteoliveirajunior1744 3 роки тому

    I m enjoyong learning about the subject

  • @austinmrakpor4863
    @austinmrakpor4863 2 роки тому

    Thanks for the videos, am using visual studio 2022, I followed your step here but navigation doesn't work no exception, am not sure how to fix it.

    • @jfversluis
      @jfversluis  2 роки тому +1

      Unfortunately, I'm not a mind reader so without any info I don't know either ;)

    • @austinmrakpor4863
      @austinmrakpor4863 2 роки тому

      @@jfversluis I've fixed it thanks.

    • @jfversluis
      @jfversluis  2 роки тому

      Glad you figured it out!

  • @AliShahin
    @AliShahin 3 роки тому

    my friend i want you talk about prism also i want to make a video with you if you don't mind about xamarin

    • @jfversluis
      @jfversluis  3 роки тому +1

      Absolutely! Send me an email at gerald.versluis@microsoft.com and we'll figure something out! Thanks!

    • @AliShahin
      @AliShahin 3 роки тому

      @@jfversluis i sent you email my friend

  • @robertojrcantos1711
    @robertojrcantos1711 3 роки тому

    Gerald is it ok for you to make a Vlog regarding pinbox? Thank you for your kindness.

    • @jfversluis
      @jfversluis  3 роки тому

      I don't know what pinbox is :)

    • @robertojrcantos1711
      @robertojrcantos1711 3 роки тому

      @@jfversluis mobile.twitter.com/jsuarezruiz/status/1362829125220765698
      I saw this long time ago in XCT GitHub.

    • @jfversluis
      @jfversluis  3 роки тому

      Ah right. I don’t think that was ever added

    • @robertojrcantos1711
      @robertojrcantos1711 3 роки тому

      @@jfversluis ok, May you include it as my wish list for XCT because it is so cool to be used for OTP. Thank you

  • @YoUserExp
    @YoUserExp 3 роки тому

    Could you go over unit testing implementations with Fresh MVVM?

    • @jfversluis
      @jfversluis  3 роки тому

      Sure can, but those shouldn’t be specific to any framework :) the only thing MVVM does is make sure your logic isn’t in the view and thus making it testable. Else you would have to make UI tests to test the logic behind your events for instance. Does that make sense?

    • @YoUserExp
      @YoUserExp 3 роки тому

      @@jfversluis makes sense. Oh you had an earlier video on the basics of dependency injection. While you are doing this series it might be nice to look at Autofac.

    • @ismailzumrawi
      @ismailzumrawi 3 роки тому

      what about namespace "Xamarin. Forms" we can't using in uint test

  • @mohammedalsabahii2
    @mohammedalsabahii2 3 роки тому

    i have a question fresh MVVM it has navigation effects like slide from top to bottom ?

    • @jfversluis
      @jfversluis  3 роки тому

      I don't think it's possible to influence the animation, at least not without implementing some custom code for it

  • @MichaelOstermann
    @MichaelOstermann 3 роки тому +1

    Have been using freshmvvm for over 2 years but unfortunately there is no longer support as the owner does not update anything anymore😭

    • @jfversluis
      @jfversluis  3 роки тому +1

      Do I have good news for you! There is a new version released last week and there will be support for .NET MAUI :)

  • @faborgangnam5511
    @faborgangnam5511 3 роки тому

    Is it possible to use this with FreshMvvm?

    • @jfversluis
      @jfversluis  3 роки тому +1

      This video is about FreshMvvm 😄