Dan Lew Codes
  • Github
Subscribe

notifications

A collection of 3 posts
android

Notifications in Android 8.1

Last time I wrote about notification channels [https://blog.danlew.net/2017/09/06/working-with-android-notification-channels/] I described a complicated solution to create the best balance between automatic bundling vs. not annoying the daylights out of the user: > * Have as few channels as possible make noise by default. * Use summaries
Jan 22, 2018 — 1 min read
android

Working With Android Notification Channels

Google has introduced notification channels [https://developer.android.com/preview/features/notification-channels.html] to Android Oreo. Each notification is now associated with a channel, and the user is granted control over how each channel presents notifications. For developers, channels are a double-edged sword. On the one hand, it is great
Sep 6, 2017 — 6 min read
android

Correctly handling bundled Android notifications

Bundled notifications on Android are a tricky business. Individual, fire-and-forget notifications are simple. You create a Notification [https://developer.android.com/reference/android/app/Notification.html], send it to NotificationManagerCompat [https://developer.android.com/reference/android/support/v4/app/NotificationManagerCompat.html] , and the system handles the rest. Bundled notifications allow
Feb 7, 2017 — 3 min read
Dan Lew Codes © 2025
Powered by Ghost