rdelrosario / xamarin-plugins

Cross platform Xamarin & Windows plugins for PCLs
MIT License
179 stars 161 forks source link

Responding to click events #12

Open howbazaar opened 9 years ago

howbazaar commented 9 years ago

One thing that I want to do right now is to respond to the user selecting a notification.

In particular I want to have payload information stored with the notification, and have a method, say, on the IPushNotificationListener that gets triggered when the user selects a notification.

As a specific example, I'd be generating push notification for changes in particular DB models. When the user selects a notification, I want to show the page specific for the model object that actually changed.

It seems that the current notifications, on Android at least, have the following set:

.SetAutoCancel(true) // dismiss the notification from the notification area when the user clicks on it

Any idea how to handle this?