Bertuzzi.MAUI.EventAggregator
⚙️EventAggregator provides multicast publish/subscribe functionality
Install / Use
/learn @TBertuzzi/Bertuzzi.MAUI.EventAggregatorREADME
Bertuzzi.MAUI.EventAggregator
The EventAggregator provides multicast publish/subscribe functionality. This means there can be multiple publishers that raise the same event and there can be multiple subscribers listening to the same event.
This is the component, works on iOS, Android and UWP.


NuGet
|Name|Info|
| ------------------- | :------------------: |
|Bertuzzi.MAUI.EventAggregator||
Platform Support*
Bertuzzi.MAUI.EventAggregator is a MAUI library.
Setup / Usage
Does not require additional configuration. Just install the package in the shared project and use.
Sample
Create a Sample Message
public class TextMessage
{
public string Text { get; set; }
}
Register Handler to listen to the event
private void TextHandler(
TextMessage message)
{
Text = message.Text;
}
//Register Event Handler
EventAggregator.Instance.RegisterHandler<TextMessage>(
TextHandler);
Send Message
//Register Event
EventAggregator.Instance.SendMessage(TextMessage);
The complete example can be downloaded here: https://github.com/TBertuzzi/Bertuzzi.MAUI.EventAggregator/tree/master/MAUIEventAggregatorSample
BaseViewModel and Commands used of : https://github.com/jamesmontemagno/mvvm-helpers/tree/master/MvvmHelpers
Based on my package : https://github.com/TBertuzzi/Xamarin.Forms.EventAggregator
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
