android-remote-notifications icon indicating copy to clipboard operation
android-remote-notifications copied to clipboard

showing notification msg

Open persiansushiant opened this issue 9 years ago • 1 comments

hi thanks for your great work but if i want to show the notification in my way for example suppose i want to show it in a notification msg how can i do that?

persiansushiant avatar Aug 04 '15 08:08 persiansushiant

Notifications in the notification area aren't available yet. But they should be really easy to implement by extending AbstractUserNotification.

  • The new notification type has to be registered in the interface UserNotification so Jackson can (de)serialize it.
  • The logic to add the notification to the notification area has to be placed in the show() method of the new notification type.
  • Implementing this should be straight forward when using AlertDialogNotification as a template

Can you do this in a fork and send a pull request?

kaiwinter avatar Aug 04 '15 15:08 kaiwinter