Highly Customizable Popups for .NET MAUI with Mopups

Поділитися
Вставка

КОМЕНТАРІ • 105

  • @jfversluis
    @jfversluis  Рік тому +4

    Wondering how it compares to the .NET MAUI Community Toolkit popups? That video is ready for you here: ua-cam.com/video/yM7opXlu-MU/v-deo.html
    Or maybe, you want to just learn .NET MAUI altogether? Check out this 101 playlist with all the fundamentals: ua-cam.com/video/RAuW8NvRDns/v-deo.html

  • @Homeworkingprofessional
    @Homeworkingprofessional Рік тому +2

    Thanks for spending the time creating these videos. Very much appreciated 👍

  • @ithenckel
    @ithenckel Рік тому +1

    I am migration a larger xamarin based Solution to Maui and this Popup is one of the mayor puzzlepieces I needed to find. 😊
    Thank you To you and the community team.

    • @jfversluis
      @jfversluis  Рік тому +1

      Perfect! What other things do you need to figure out still?

  • @yvanbrunel9734
    @yvanbrunel9734 Рік тому

    I already learned about CTK pop-ups from you, and I use it in my project.
    Great to see that there's something more that can be an option and it has dependency injection too!!
    Thanks for the clear explanation!

  • @josedonizeteoliveirajunior1744

    very good! thanks. yet another popup option with full customization possibilities. I will definitely be using it.

    • @jfversluis
      @jfversluis  Рік тому +1

      Thank you! Yeah this is a pretty cool one as well, just a bit more options than the .NET MAUI Community Toolkit one. Let me know which you like better!

    • @josedonizeteoliveirajunior1744
      @josedonizeteoliveirajunior1744 Рік тому

      @@jfversluis Oh, my opinion is certainly not the most accurate, but I really like the .NET MAUI Community Toolkit, I use the anchoring feature a lot. But I will certainly use Mopups too.

  • @kratichauhan3451
    @kratichauhan3451 Рік тому

    Thanks for MAUI videos, much helpful for learners like me. Can you share a video on how can we print a view or hemlock from MAUI

  • @DeepWorksStudios
    @DeepWorksStudios Рік тому +2

    Thanks for your dedicated content :)
    But ! I'm puzzled as Maui is still under development. I encountered several bugs. I have reported most of these but unfortunately most of them have not been fixed over a period of 6 months which is quite disappointing. I know your a dedicated developer and wanted to ask if you could look into bug fixing some of the major bugs.
    In anyway thanks Gerald for you dedication !

  • @asMmmaok
    @asMmmaok 3 місяці тому +1

    Thanks for the video. Is there a way to show the popup in an mvvm friendly way. I mean with the viewmodel not having to know the type of the PopupPage in order to be able to show it, kinda like the registering a "connection" using the AddTransientPopup() from the maui community toolkit?

  • @jean-baptistedioli1692
    @jean-baptistedioli1692 3 місяці тому

    Hello
    Beautiful video as usual :)
    What about passing an object to the popup and getting an object from the "Light Dismiss" popup?

  • @abhijeetboral2334
    @abhijeetboral2334 11 місяців тому +5

    Can you please demonstrate how to pass data in Mopups with FreshMvvm.Maui or MVVM

    • @Bumbar14526
      @Bumbar14526 2 місяці тому

      Did you manage to make it work?

  • @YaSiRaRaFaTdoTNet
    @YaSiRaRaFaTdoTNet Рік тому

    Thanks, Gerald!

  • @jcruzti7313
    @jcruzti7313 Рік тому +2

    In windows it brings an error saying application not supported, I hope they can fix it otherwise it is excellent

  • @octagoncow
    @octagoncow Рік тому +3

    Great overview! I'm probably just overlooking this in the documentation, but is there any way to close a popup with a specified return result? It looks like PopAsync's return value is but I'm not sure how to use that information to know if the user closed a popup from an OK button VS a Cancel button.

    • @geraldlewis8221
      @geraldlewis8221 Рік тому

      You could use databinding and the popup page could have it's own view model to store it's results.

  • @saschaingenohl3005
    @saschaingenohl3005 Рік тому

    Thx for UA-cam great maui Videos. I am struggeling to get a popUp with a populated ListView. In debug mode it is working in release mode it is empty and no error is shown. Has anybody similuar issues?

  • @mpgsystem
    @mpgsystem 5 місяців тому

    Great video!

  • @saoudiwalid
    @saoudiwalid 11 місяців тому

    Does this support auto sizing or we need to manage the size ourselves like with the toolkit popups?

  • @thetruq4857
    @thetruq4857 Рік тому

    First, thank you Gerald for your videos. They are a true God-send for me and many others. Next, I can't seem to find anything that gives me an idea of how to refresh the calling page once a popup is closed or after a data operation has occurred on the popup page. Is this possible, and what is the best approach? Can it be done in MVVM? Thanks.

    • @thetruq4857
      @thetruq4857 Рік тому

      I have found the solution for this - use messaging service. I am very new to app development, so it is like pulling teeth in some areas that in my opinion should be simple. Thanks anyway.

  • @NapoleoneLiparoti
    @NapoleoneLiparoti 4 місяці тому

    Many thanks!

  • @clarke9791
    @clarke9791 2 місяці тому

    Can i use this as bottomsheet? and btw do you know if the radio buttons are having any bugs?

  • @madraven37
    @madraven37 2 місяці тому

    Is this advisable to be used as a loading page? I wanna put on some skiasharp animation for the loading in the Mopups page.

  • @sebastianszafran5221
    @sebastianszafran5221 3 місяці тому

    Just from curiosity - what would be a better name for IPopupNavigation field rather than just "_popupNavigation"?
    One more question, how could we use it with MVVM so that view models do not know about what PopupPage we would like to display?

  • @josepvg
    @josepvg Рік тому

    Thanks, i might use this :)

    • @jfversluis
      @jfversluis  Рік тому +1

      You’re welcome! Let me know what you think of it!

  • @user-ln7nf9qt9n
    @user-ln7nf9qt9n 11 місяців тому

    Can Mopups popups be created as modals? Or can you add animation to the community toolkit popups?

  • @nicolarigoni1062
    @nicolarigoni1062 11 місяців тому +2

    Can you explain how is the better way to pass parameter to the popup with dependency injection and MVVM? thanks

    • @askariyaw
      @askariyaw 3 місяці тому

      Did you ever find an answer to this?

  • @denisgudiel5574
    @denisgudiel5574 4 місяці тому

    Wow, it has good performance :0

  • @josedonizeteoliveirajunior1744

    Gerrard, I went to test it today, on windows the message is appearing: Operation not supported on this platform 🤔

    • @jfversluis
      @jfversluis  Рік тому

      Check the repository for any issues!

  • @chezchezchezchez
    @chezchezchezchez Рік тому

    This worked great except why doesn't editor.Completed fire when inside the popup?
    Editor editor = new Editor { Placeholder = "Enter text", Height};
    editor.Completed += OnEditorCompletedAsync;
    Thanks!

  • @paragshedbale
    @paragshedbale Рік тому

    Thanks Gerald. How do we send parameters from and to the mopups? For example, I send some info to a mopup from my page and PushAsync it. I want the mopup to send back an object to the calling Page.

    • @jfversluis
      @jfversluis  Рік тому

      I guess you could follow a same pattern like described here: ua-cam.com/video/d2SEOj0o5j4/v-deo.html

  • @habib13500101
    @habib13500101 Рік тому

    Great content!
    I was just wondering if that is possible to anchor this popup to a specified control like label, button, etc so popup content is displayed below that control? I had a bit of play with that but no luck. Could you elaborate on this please?
    This can be achieved in CTK by using Anchor property but AnchorX and AnchorY do not do the same in Mopups.
    Thanks!

    • @brandon-butler
      @brandon-butler 9 місяців тому

      The MAUI CommunityToolkit popups control can be used for that.

  • @222branko
    @222branko Рік тому

    Thanks - super info.
    ps. Perhaps consider (to grow your channel even more) - instead - 5-sec intro - replace -
    with - 5 sec - final result - say for this one - start with Popups

  • @MrElTee13
    @MrElTee13 Рік тому +1

    Maybe I need to look deeper into the docs and play around with it, but outside of the animations, I can't really see what sets this apart from the community toolkit popup.
    Also, do you know if there's a reason why awesome things like this aren't added to the toolkit version rather than creating a separate package for them?

    • @jfversluis
      @jfversluis  Рік тому +3

      A healthy ecosystem has alternatives that do the same thing. People like different APIs and different features. That’s how it goes, we can’t have it all in one package :)

    • @MrElTee13
      @MrElTee13 Рік тому

      @@jfversluis That makes a lot of sense. Thanks for the explanation!

    • @ramarajthangapandi3424
      @ramarajthangapandi3424 Рік тому

      Community kit popup didn't work for us for iOS. In iOS, we had to hardcode the height, otherwise the popups were shown in full screen. So we had to switch to Mopups

  • @VictoriaRedenbaugh
    @VictoriaRedenbaugh Рік тому

    Curious if you have seen any issues with CloseWhenBackgroundClicked or any background clicked events with Mopups in iOS and Mac? Windows and Android seems to work fine.

    • @jfversluis
      @jfversluis  Рік тому

      No haven’t seen that but if you think something might be wrong, please open an issue on the repo

  • @BarriDuty
    @BarriDuty Рік тому +2

    Is it possible to pass objects from the popup to the main page? Just like in the community toolkit one?

    • @jfversluis
      @jfversluis  Рік тому +2

      Maybe not exactly like in the Community Toolkit, but you can of course create the popup page, push it and because it's async you can await the result and then afterwards maybe query the data you're after from the attached viewmodel or a property inside of that page. It's all just C# objects so you can access objects anyway you want basically. But I don't think it has a return value from the Pop call like the Community Toolkit has

  • @lucasjimenez5802
    @lucasjimenez5802 Рік тому

    So usefull, thanks a lot

    • @jfversluis
      @jfversluis  Рік тому

      Glad you think so! Thanks for watching!

  • @ebonnailsupply2375
    @ebonnailsupply2375 2 місяці тому

    Thanks!

    • @jfversluis
      @jfversluis  2 місяці тому

      Oh no my friend, thank you for the support!

  • @user-vx9cu2gt5x
    @user-vx9cu2gt5x 8 місяців тому

    Hello, I have a little problem, for default the mopup covers all the page, when i do something like PopUpService.ShowPopUp(customPopUp)

  • @cissemy
    @cissemy Рік тому +1

    How to pass data to myPopupPage and how to return data back to the mainPage ?

    • @lordscourge-jp8ch
      @lordscourge-jp8ch 8 місяців тому

      Hi. Bit of a late reply but you can look at WeakReferenceMessenger. James Montemagno did a great video on it.

  • @DanijelJames
    @DanijelJames Рік тому

    How do you get a pop up to close itself? There is no documentation on the GitHub repo.

    • @jfversluis
      @jfversluis  Рік тому

      Add a timer and call the Close method. There is no built-in way.

  • @igorpinheiro9357
    @igorpinheiro9357 Рік тому +2

    is it possible to wait for a result from this popup? Like return a string from a entry when the popup closes

  • @luisjjjj
    @luisjjjj Рік тому +1

    Thank you!, great video, how do you pass objects to the PopupPage?

    • @jfversluis
      @jfversluis  Рік тому

      Add a constructor parameter or property to the page you use as a popup

    • @luisjjjj
      @luisjjjj Рік тому

      @@jfversluis Thank you for the response, I am actually trying to do that, but when I use PushAsync(new PopupPage( )), it doesn´t recognize the constructor parameters setted in the viewmodel of the PopupPage.

    • @maxborrmann5663
      @maxborrmann5663 Рік тому

      @@luisjjjj pass your viewmodel in the constructor like you would also do with dependency injection: PushAsync(new PopupPage(viewmodel )),

    • @chezchezchezchez
      @chezchezchezchez Рік тому

      @@luisjjjj Max's tip work for you?

    • @luisjjjj
      @luisjjjj Рік тому

      @@chezchezchezchez yes

  • @mapanjwani
    @mapanjwani Рік тому

    Frist of all, your videos have been of great help to me and this one is no exception. Secondly, I have come across a problem here. When the page background is set to gradient then mopups outside area is not transparent. Any idea how to resolve it?

    • @mapanjwani
      @mapanjwani Рік тому

      Found the solution. I need to set the background of mopup instead of backgroundcolor.

    • @jfversluis
      @jfversluis  Рік тому

      Glad you figured it out!

  • @FOTACON
    @FOTACON 7 місяців тому

    can it parse data to and from like the communitytoolkit popup?

    • @jfversluis
      @jfversluis  7 місяців тому

      There is nothing built-in for it, but sure you can make those exchange data for sure

  • @ashazmi4423
    @ashazmi4423 Рік тому +1

    Doesn't work on Windows!!! throws this exception "Operation is not supported on this platform"

    • @ashazmi4423
      @ashazmi4423 Рік тому +1

      For now, it works if you downgrade to V 1.1.0

    • @jfversluis
      @jfversluis  Рік тому

      Thanks for sharing!

    • @adrianhurst5201
      @adrianhurst5201 Рік тому

      Thank you!!! I was going crazy

    • @jfversluis
      @jfversluis  Рік тому +2

      Make sure there is an issue for it on the repository?

  • @wiaanduvenhage9630
    @wiaanduvenhage9630 10 місяців тому

    Hi great video!! Does this work on windows or mac by any chance??

    • @jfversluis
      @jfversluis  10 місяців тому

      Should work on both!

  • @seunghoonlee1859
    @seunghoonlee1859 Рік тому

    Now, It's not working on iOS 16.3, Android 13 with Plugin.LocalNotification 10.1.3

    • @jfversluis
      @jfversluis  Рік тому

      Open an issue on the repository if you have problems with this plugin

  • @user-lf6qd5fi5i
    @user-lf6qd5fi5i Рік тому

    Thanks

  • @jaspervandenbergh4570
    @jaspervandenbergh4570 Рік тому

    Thanks! Btw, the sample code repository points to the wrong repo

    • @jfversluis
      @jfversluis  Рік тому

      Ugh, copy/pasta error! Fixed, thank you!

    • @jaspervandenbergh4570
      @jaspervandenbergh4570 Рік тому

      @@jfversluis Np! Also, how would I make the popup fill the entire screen? FillAndExpand doesnt seem to work

  • @pratham_dev
    @pratham_dev Рік тому +1

    Hi! Gerald, Can we have a video for Google and Facebook authentication in MAUI

    • @schwiftybits
      @schwiftybits Рік тому

      Bruh I wish lol It looks like the authentication isn't supported due to the callback situation.

  • @prasadcp423
    @prasadcp423 Рік тому

    CloseWhenBackgroundIsClicked="True" this not working.

    • @jfversluis
      @jfversluis  Рік тому

      If you think there is a bug, please report it on the repository

  • @moti8876
    @moti8876 10 місяців тому +1

    I don't recommend this library, it stopped updating a long time ago, and the latest version (1.1.1) has bugs that are not fixed for a long time. The current version (1.1.0) also has bugs with rendering on the IOS side, I assume the developer has given up on development.

    • @jfversluis
      @jfversluis  10 місяців тому +1

      That is totally fair and sad that it happens, but these people are probably individuals that put in their own time so something can always happen. The .NET MAUI Community Toolkit also has Popups! Do you know of any other good alternatives?

  • @tanakamawere
    @tanakamawere Рік тому +1

    Gerald is so bad with design (Rounded corners will look "designy")😂😂😂😂 But thanks.
    Question: Community Toolkit Popups vs these, which should I use and for what reasons?

    • @jfversluis
      @jfversluis  Рік тому +1

      Haha I'm so bad at designing that it will look designy to me pretty easily... Which popups to use? They can do the same thing mostly, apart from the built-in animations I guess. So whichever one you prefer 🤷‍♂️

  • @tysonhooker3924
    @tysonhooker3924 Рік тому

    Hey Gerald, Cheers for the shout out, I was wondering where the influx of traffic came from and my first thought was here!
    Are you okay with linking this video on the GitHub page? I have been looking for a way to spruce up the ReadMe and this seems a nice fit

    • @jfversluis
      @jfversluis  Рік тому +1

      You bet! Thanks for bringing this to .NET MAUI! Feel free to add this anywhere you want :)

    • @geraldlewis8221
      @geraldlewis8221 Рік тому

      HI Tyson! Sorry to high-jack your thread, but can you update the Wiki with some documentation? The README points to what is essentially an empty Wiki.
      Thanks,
      Gary

  • @santaclaus2066
    @santaclaus2066 Рік тому

    Thanks

  • @Miles7000
    @Miles7000 Рік тому

    Thanks