i have the following NavigationStack:
VehicleStatePage is a galery of images. You can tap the images and navigate into a ImagePage. The event is in the code behind of VehicleStatepage.
You can also go from ImagePage to the next ImagePage. If you do so I send a message from ImagePage to the code behind of VehicleStatePage on order to simulate the same behaviour like the user tapped this specific image from VehicleStatePage. So navigating from VehicleStatePage to ImagePage uses the same event like navigating from ImagePage to ImagePage.
Now i was wondering where is the best place to subscribe/unsubscribe to the message to avoid multiple subscriptions.
Thank you, Gelatto