You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works fine and show the buttons:
PugNotification.with(this)
.load()
.title(...)
.message(...)
.smallIcon(...)
.largeIcon(..)
.button(...),
.button(...)
.simple()
.build();
The custom notification has no option to add buttons. Only it can add a background image!
If you have any ideas and want to submit a pull request, be my guest!
There is a problem in the documentation ( http://www.halysongoncalves.com/Pugnotification/ ) in custom section you call "background" before you call the setImageLoader() which leads to an exception
This works fine and show the buttons:
PugNotification.with(this)
.load()
.title(...)
.message(...)
.smallIcon(...)
.largeIcon(..)
.button(...),
.button(...)
.simple()
.build();
This doesn't:
PugNotification.with(this)
.load()
.title(...)
.message(...)
.smallIcon(...)
.largeIcon(..)
.button(...),
.button(...)
.custom()
.build();
The text was updated successfully, but these errors were encountered: