Highly Customizable Popups for .NET MAUI with Mopups

  Рет қаралды 33,453

Gerald Versluis

Gerald Versluis

Күн бұрын

Пікірлер: 106
@jfversluis
@jfversluis 2 жыл бұрын
Wondering how it compares to the .NET MAUI Community Toolkit popups? That video is ready for you here: kzbin.info/www/bejne/r36aoKOOodpgg7c Or maybe, you want to just learn .NET MAUI altogether? Check out this 101 playlist with all the fundamentals: kzbin.info/www/bejne/iHLYiGuEq7d3pNU
@Homeworkingprofessional
@Homeworkingprofessional 2 жыл бұрын
Thanks for spending the time creating these videos. Very much appreciated 👍
@jfversluis
@jfversluis 2 жыл бұрын
Thanks Jason 🥰
@ithenckel
@ithenckel 2 жыл бұрын
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 2 жыл бұрын
Perfect! What other things do you need to figure out still?
@abhijeetboral2334
@abhijeetboral2334 Жыл бұрын
Can you please demonstrate how to pass data in Mopups with FreshMvvm.Maui or MVVM
@Bumbar14526
@Bumbar14526 7 ай бұрын
Did you manage to make it work?
@asMmmaok
@asMmmaok 8 ай бұрын
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?
@yvanbrunel9734
@yvanbrunel9734 2 жыл бұрын
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!
@jfversluis
@jfversluis 2 жыл бұрын
Great to hear! Thank you!
@josedonizeteoliveirajunior1744
@josedonizeteoliveirajunior1744 2 жыл бұрын
very good! thanks. yet another popup option with full customization possibilities. I will definitely be using it.
@jfversluis
@jfversluis 2 жыл бұрын
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 2 жыл бұрын
@@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.
@ebonnailsupply2375
@ebonnailsupply2375 8 ай бұрын
Thanks!
@jfversluis
@jfversluis 8 ай бұрын
Oh no my friend, thank you for the support!
@josedonizeteoliveirajunior1744
@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!
@jcruzti7313
@jcruzti7313 Жыл бұрын
In windows it brings an error saying application not supported, I hope they can fix it otherwise it is excellent
@octagoncow
@octagoncow 2 жыл бұрын
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 2 жыл бұрын
You could use databinding and the popup page could have it's own view model to store it's results.
@nicolarigoni1062
@nicolarigoni1062 Жыл бұрын
Can you explain how is the better way to pass parameter to the popup with dependency injection and MVVM? thanks
@askariyaw
@askariyaw 9 ай бұрын
Did you ever find an answer to this?
@kratichauhan3451
@kratichauhan3451 2 жыл бұрын
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 !
@sebastianszafran5221
@sebastianszafran5221 9 ай бұрын
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?
@jean-baptistedioli1692
@jean-baptistedioli1692 8 ай бұрын
Hello Beautiful video as usual :) What about passing an object to the popup and getting an object from the "Light Dismiss" popup?
@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!
@cissemy
@cissemy Жыл бұрын
How to pass data to myPopupPage and how to return data back to the mainPage ?
@lordscourge-jp8ch
@lordscourge-jp8ch Жыл бұрын
Hi. Bit of a late reply but you can look at WeakReferenceMessenger. James Montemagno did a great video on it.
@igorpinheiro9357
@igorpinheiro9357 Жыл бұрын
is it possible to wait for a result from this popup? Like return a string from a entry when the popup closes
@chezchezchezchez
@chezchezchezchez Жыл бұрын
you find out?
@Adam-vp5ur
@Adam-vp5ur Жыл бұрын
@@chezchezchezchez you find out yet?
@chezchezchezchez
@chezchezchezchez Жыл бұрын
@@Adam-vp5ur no!
@zuberfarooqui7202
@zuberfarooqui7202 26 күн бұрын
Thanks a lot, Dear👍
@madraven37
@madraven37 8 ай бұрын
Is this advisable to be used as a loading page? I wanna put on some skiasharp animation for the loading in the Mopups page.
@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.
@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
@denisgudiel5574
@denisgudiel5574 9 ай бұрын
Wow, it has good performance :0
@saschaingenohl3005
@saschaingenohl3005 2 жыл бұрын
Thx for KZbin 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?
@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 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@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
@clarke9791
@clarke9791 8 ай бұрын
Can i use this as bottomsheet? and btw do you know if the radio buttons are having any bugs?
@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.
@albertostring
@albertostring Жыл бұрын
Hello, I have a little problem, for default the mopup covers all the page, when i do something like PopUpService.ShowPopUp(customPopUp)
@AdamBenge-n1t
@AdamBenge-n1t Жыл бұрын
Can Mopups popups be created as modals? Or can you add animation to the community toolkit popups?
@saoudiwalid
@saoudiwalid Жыл бұрын
Does this support auto sizing or we need to manage the size ourselves like with the toolkit popups?
@yaKaiZen
@yaKaiZen 2 жыл бұрын
Thanks, Gerald!
@jfversluis
@jfversluis 2 жыл бұрын
You're very welcome!
@luisjjjj
@luisjjjj 2 жыл бұрын
Thank you!, great video, how do you pass objects to the PopupPage?
@jfversluis
@jfversluis 2 жыл бұрын
Add a constructor parameter or property to the page you use as a popup
@luisjjjj
@luisjjjj 2 жыл бұрын
@@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
@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: kzbin.info/www/bejne/mmO2doKgZdRooJY
@mpgsystem
@mpgsystem 11 ай бұрын
Great video!
@VictoriaRedenbaugh
@VictoriaRedenbaugh 2 жыл бұрын
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 2 жыл бұрын
No haven’t seen that but if you think something might be wrong, please open an issue on the repo
@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 Жыл бұрын
The MAUI CommunityToolkit popups control can be used for that.
@ashazmi4423
@ashazmi4423 Жыл бұрын
Doesn't work on Windows!!! throws this exception "Operation is not supported on this platform"
@ashazmi4423
@ashazmi4423 Жыл бұрын
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 Жыл бұрын
Make sure there is an issue for it on the repository?
@FOTACON
@FOTACON Жыл бұрын
can it parse data to and from like the communitytoolkit popup?
@jfversluis
@jfversluis Жыл бұрын
There is nothing built-in for it, but sure you can make those exchange data for sure
@josepvg
@josepvg 2 жыл бұрын
Thanks, i might use this :)
@jfversluis
@jfversluis 2 жыл бұрын
You’re welcome! Let me know what you think of it!
@NapoleoneLiparoti
@NapoleoneLiparoti 10 ай бұрын
Many thanks!
@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!
@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
@lucasjimenez5802
@lucasjimenez5802 2 жыл бұрын
So usefull, thanks a lot
@jfversluis
@jfversluis 2 жыл бұрын
Glad you think so! Thanks for watching!
@wiaanduvenhage9630
@wiaanduvenhage9630 Жыл бұрын
Hi great video!! Does this work on windows or mac by any chance??
@jfversluis
@jfversluis Жыл бұрын
Should work on both!
@pratham_dev
@pratham_dev 2 жыл бұрын
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.
@jaspervandenbergh4570
@jaspervandenbergh4570 2 жыл бұрын
Thanks! Btw, the sample code repository points to the wrong repo
@jfversluis
@jfversluis 2 жыл бұрын
Ugh, copy/pasta error! Fixed, thank you!
@jaspervandenbergh4570
@jaspervandenbergh4570 2 жыл бұрын
@@jfversluis Np! Also, how would I make the popup fill the entire screen? FillAndExpand doesnt seem to work
@Miles7000
@Miles7000 2 жыл бұрын
Thanks
@jfversluis
@jfversluis 2 жыл бұрын
You bet my friend!
@prasadcp423
@prasadcp423 Жыл бұрын
CloseWhenBackgroundIsClicked="True" this not working.
@jfversluis
@jfversluis Жыл бұрын
If you think there is a bug, please report it on the repository
@moti8876
@moti8876 Жыл бұрын
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 Жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
Thanks
@jfversluis
@jfversluis 2 жыл бұрын
You’re welcome!
@王龙-x7y
@王龙-x7y 2 жыл бұрын
Thanks
@jfversluis
@jfversluis 2 жыл бұрын
You're welcome!
3 Ways Combine .NET MAUI and .NET MAUI Blazor Hybrid
24:05
Gerald Versluis
Рет қаралды 30 М.
Localization in .NET MAUI - Adding Multi-Language to Your Apps
24:17
Gerald Versluis
Рет қаралды 19 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Test Bugfixes on Your Own .NET MAUI Project Before They're Released!1!
15:52
Start Your New .NET MAUI App with These Amazing Templates!
15:06
Gerald Versluis
Рет қаралды 25 М.
Animating Controls in .NET MAUI & Xamarin.Forms
19:19
James Montemagno
Рет қаралды 27 М.
How to Add a Database to Xamarin & .NET MAUI apps with SQLite-net
23:13
James Montemagno
Рет қаралды 78 М.
Make Your Designs Pixel-Perfect with DebugRainbows for .NET MAUI
11:45
Gerald Versluis
Рет қаралды 3,7 М.
Publishing .NET MAUI Apps to the Stores Made Easy
12:19
Gerald Versluis
Рет қаралды 12 М.
Release Your .NET MAUI iOS App to the Apple App Store
27:23
Gerald Versluis
Рет қаралды 41 М.
A quick look at Telerik controls for .NET MAUI
30:28
Javier Suárez
Рет қаралды 237
Effective Alerts with Snackbar & Toast with .NET MAUI
15:39
Gerald Versluis
Рет қаралды 12 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН